You are here

public function EntityInterface::isDefaultRevision in Entity API 7

Checks whether the entity is the default revision.

Return value

bool TRUE if it is the default revision, FALSE otherwise.

See also

entity_revision_is_default()

1 method overrides EntityInterface::isDefaultRevision()
Entity::isDefaultRevision in includes/entity.inc
Checks whether the entity is the default revision.

File

includes/entity.inc, line 167
Provides a base class for entities.

Class

EntityInterface
Interface for class based entities.

Code

public function isDefaultRevision();