Defines a base entity class.

Hierarchy

Expanded class hierarchy of Entity

File

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

Members

Contains filters are case sensitive
Namesort ascending Modifiers Type Description
EntityInterface::uri public function Returns the URI elements of the entity.
EntityInterface::label public function Returns the label of the entity.
EntityInterface::id public function Returns the entity identifier (the entity's machine name or numeric ID).
EntityInterface::entityType public function Returns the type of the entity.
Entity::__construct public function Constructs a new entity object. Overrides EntityInterface::__construct
Entity::view public function Implements EntityInterface::view(). Overrides EntityInterface::view
Entity::setIsActiveRevision public function Implements Backdrop\entity\EntityInterface::setActiveRevision(). Overrides EntityInterface::setIsActiveRevision
Entity::save public function Implements EntityInterface::save(). Overrides EntityInterface::save
Entity::isNew public function Implements EntityInterface::isNew(). Overrides EntityInterface::isNew
Entity::isActiveRevision public function Implements Backdrop\entity\EntityInterface::isActiveRevision(). Overrides EntityInterface::isActiveRevision
Entity::getRevisionId public function Implements Backdrop\entity\EntityInterface::getRevisionId(). Overrides EntityInterface::getRevisionId
Entity::getFieldValues public function Implements EntityInterface::getFieldValues(). Overrides EntityInterface::getFieldValues
Entity::getFieldValue public function Implements EntityInterface::getFieldValue(). Overrides EntityInterface::getFieldValue
Entity::delete public function Implements EntityInterface::delete(). Overrides EntityInterface::delete
Entity::createDuplicate public function Implements EntityInterface::createDuplicate(). Overrides EntityInterface::createDuplicate
Entity::createAccess public static function Implements EntityInterface::createAccess(). Overrides EntityInterface::createAccess
Entity::bundle public function Implements EntityInterface::bundle(). Overrides EntityInterface::bundle
Entity::buildContent public function Implements EntityInterface::buildContent(). Overrides EntityInterface::buildContent
Entity::access public function Implements EntityInterface::access(). Overrides EntityInterface::access
Entity::$is_active_revision public property Indicates whether this is the active revision.