public function EntityInterface::isNewRevision

Returns whether a new revision should be created on save.

Return value

bool TRUE if a new revision should be created.

See also

Drupal\Core\Entity\EntityInterface::setNewRevision()

2 methods override EntityInterface::isNewRevision()
Entity::isNewRevision in drupal/core/lib/Drupal/Core/Entity/Entity.php
Implements EntityInterface::isNewRevision().
ViewUI::isNewRevision in drupal/core/modules/views/views_ui/lib/Drupal/views_ui/ViewUI.php
Implements \Drupal\Core\Entity\EntityInterface::isNewRevision().

File

drupal/core/lib/Drupal/Core/Entity/EntityInterface.php, line 63
Definition of Drupal\Core\Entity\EntityInterface.

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function isNewRevision();