public function ContentEntityBase::getRevisionId
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\EntityCode
public function getRevisionId() { return $this->getEntityKey('revision'); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!ContentEntityBase.php/function/ContentEntityBase::getRevisionId/8.1.x