public ContentEntityBase::getRevisionId()
Gets the revision identifier of the entity.
Return value
The revision identifier of the entity, or NULL if the entity does not have a revision identifier.
Overrides RevisionableInterface::getRevisionId
File
- core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 331
Class
- ContentEntityBase
- Implements Entity Field API specific enhancements to the Entity class.
Namespace
Drupal\Core\Entity
Code
public function getRevisionId() { return $this->getEntityKey('revision'); }
Please login to continue.