Provides methods for an entity to support revisions.
Hierarchy
- interface \Drupal\Core\Entity\RevisionableInterface
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. |
Please login to continue.