NodeTypeInterface::setNewRevision

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);
doc_Drupal
2016-10-29 09:31:42
Comments
Leave a Comment

Please login to continue.