1 entity.class.inc public EntityInterface::getRevisionId()

Returns the revision identifier of the entity.

@since 1.16.0 Method added.

Return value

The revision identifier of the entity, or NULL if the entity does not: have a revision identifier.

File

core/modules/entity/entity.class.inc, line 220
Provides an interface and a base class for entities.

Class

EntityInterface
Defines a common interface for all entity objects.

Code

public function getRevisionId();