Returns 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
- drupal/core/lib/Drupal/Core/Entity/EntityInterface.php, line 171
- Definition of Drupal\Core\Entity\EntityInterface.
Class
- EntityInterface
- Defines a common interface for all entity objects.
Namespace
Drupal\Core\Entity
Code
public function getRevisionId();