public property Node::$isDefaultRevision

Indicates whether this is the default node revision.

The default revision of a node is the one loaded when no specific revision has been specified. Only default revisions are saved to the node table.

Type: boolean

Overrides Entity::$isDefaultRevision

File

drupal/core/modules/node/lib/Drupal/node/Plugin/Core/Entity/Node.php, line 82
Definition of Drupal\node\Plugin\Core\Entity\Node.

Class

Node
Defines the node entity class.

Namespace

Drupal\node\Plugin\Core\Entity

Code

public $isDefaultRevision = TRUE;