1 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

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

Class

EntityInterface
Defines a common interface for all entity objects.

Code

public function isActiveRevision();