public NodeType::isNewRevision()
Gets whether a new revision should be created by default.
Return value
bool TRUE if a new revision should be created by default.
Overrides NodeTypeInterface::isNewRevision
File
- core/modules/node/src/Entity/NodeType.php, line 120
Class
- NodeType
- Defines the Node type configuration entity.
Namespace
Drupal\node\Entity
Code
public function isNewRevision() { return $this->new_revision; }
Please login to continue.