W3cubDocs

/Drupal 8

public function RevisionableInterface::getRevisionId

public RevisionableInterface::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.

File

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

Class

RevisionableInterface
Provides methods for an entity to support revisions.

Namespace

Drupal\Core\Entity

Code

public function getRevisionId();

© 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!RevisionableInterface.php/function/RevisionableInterface::getRevisionId/8.1.x