You are here

public function NodeTypeInterface::isNewRevision in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/node/src/NodeTypeInterface.php \Drupal\node\NodeTypeInterface::isNewRevision()

Gets whether a new revision should be created by default.

Return value

bool TRUE if a new revision should be created by default.

1 method overrides NodeTypeInterface::isNewRevision()
NodeType::isNewRevision in core/modules/node/src/Entity/NodeType.php
Gets whether a new revision should be created by default.

File

core/modules/node/src/NodeTypeInterface.php, line 31
Contains \Drupal\node\NodeTypeInterface.

Class

NodeTypeInterface
Provides an interface defining a node type entity.

Namespace

Drupal\node

Code

public function isNewRevision();