Defines a base entity class.

Hierarchy

Expanded class hierarchy of Entity

File

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

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
Entity::bundle public function Implements EntityInterface::bundle(). Overrides EntityInterface::bundle
Entity::createDuplicate public function Implements EntityInterface::createDuplicate(). Overrides EntityInterface::createDuplicate
Entity::delete public function Implements EntityInterface::delete(). Overrides EntityInterface::delete
Entity::isNew public function Implements EntityInterface::isNew(). Overrides EntityInterface::isNew
Entity::save public function Implements EntityInterface::save(). Overrides EntityInterface::save
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.