Defines methods for an entity that supports revision logging and ownership.
Hierarchy
- interface \Drupal\Core\Entity\RevisionableInterface
- interface \Drupal\Core\Entity\RevisionLogInterface
File
- core/lib/Drupal/Core/Entity/RevisionLogInterface.php, line 10
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. |
RevisionLogInterface::getRevisionCreationTime | public | function | Gets the entity revision creation timestamp. |
RevisionLogInterface::getRevisionLogMessage | public | function | Returns the entity revision log message. |
RevisionLogInterface::getRevisionUser | public | function | Gets the entity revision author. |
RevisionLogInterface::getRevisionUserId | public | function | Gets the entity revision author ID. |
RevisionLogInterface::setRevisionCreationTime | public | function | Sets the entity revision creation timestamp. |
RevisionLogInterface::setRevisionLogMessage | public | function | Sets the entity revision log message. |
RevisionLogInterface::setRevisionUser | public | function | Sets the entity revision author. |
RevisionLogInterface::setRevisionUserId | public | function | Sets the entity revision author by ID. |
Please login to continue.