Defines a base entity class.

Hierarchy

Expanded class hierarchy of Entity

File

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

Members

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