public function NodeType::isNewRevision in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/node/src/Entity/NodeType.php \Drupal\node\Entity\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 125 - Contains \Drupal\node\Entity\NodeType.
Class
- NodeType
- Defines the Node type configuration entity.
Namespace
Drupal\node\EntityCode
public function isNewRevision() {
return $this->new_revision;
}