RevisionableInterface

Provides methods for an entity to support revisions.

Hierarchy

File

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

Namespace

Drupal\Core\Entity

Members

Name Modifiers Type Description
RevisionableInterface::getRevisionId public function Gets the revision identifier of the entity.
RevisionableInterface::isDefaultRevision public function Checks if this entity is the default revision.
RevisionableInterface::isNewRevision public function Determines whether a new revision should be created on save.
RevisionableInterface::preSaveRevision public function Acts on a revision before it gets saved.
RevisionableInterface::setNewRevision public function Enforces an entity to be saved as a new revision.
doc_Drupal
2016-10-29 09:38:30
Comments
Leave a Comment

Please login to continue.