1.20.x entity.class.inc public EntityInterface::isActiveRevision()

Checks if this entity is the active revision.

@since 1.16.0 Method added.

Return value

bool: TRUE if the entity is the active revision, FALSE otherwise.

File

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

Class

EntityInterface
Defines a common interface for all entity objects.

Code

public function isActiveRevision();