RevisionableInterface::isNewRevision

public RevisionableInterface::isNewRevision()

Determines 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()

File

core/lib/Drupal/Core/Entity/RevisionableInterface.php, line 18

Class

RevisionableInterface
Provides methods for an entity to support revisions.

Namespace

Drupal\Core\Entity

Code

public function isNewRevision();
doc_Drupal
2016-10-29 09:38:30
Comments
Leave a Comment

Please login to continue.