public NodeTypeInterface::setNewRevision($new_revision)
Sets whether a new revision should be created by default.
Parameters
bool $new_revision_: TRUE if a new revision should be created by default.
File
- core/modules/node/src/NodeTypeInterface.php, line 34
Class
- NodeTypeInterface
- Provides an interface defining a node type entity.
Namespace
Drupal\node
Code
public function setNewRevision($new_revision);
Please login to continue.