Defines a base entity class.
Hierarchy
- class Entity extends \stdClass implements EntityInterface
Expanded class hierarchy of Entity
File
- core/
modules/ entity/ entity.class.inc, line 243 - Provides an interface and a base class for entities.
Members
Name | Modifiers | Type | Description |
---|---|---|---|
Entity:: |
public | property | Indicates whether this is the active revision. |
Entity:: |
public | function |
Implements EntityInterface::access(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements EntityInterface::buildContent(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements EntityInterface::bundle(). Overrides EntityInterface:: |
Entity:: |
public static | function |
Implements EntityInterface::createAccess(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements EntityInterface::createDuplicate(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements EntityInterface::delete(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements EntityInterface::getFieldValue(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements EntityInterface::getFieldValues(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements Backdrop\entity\EntityInterface::getRevisionId(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements Backdrop\entity\EntityInterface::isActiveRevision(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements EntityInterface::isNew(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements EntityInterface::save(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements Backdrop\entity\EntityInterface::setActiveRevision(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements EntityInterface::view(). Overrides EntityInterface:: |
Entity:: |
public | function |
Constructs a new entity object. Overrides EntityInterface:: |
EntityInterface:: |
public | function | Returns the type of the entity. |
EntityInterface:: |
public | function | Returns the entity identifier (the entity's machine name or numeric ID). |
EntityInterface:: |
public | function | Returns the label of the entity. |
EntityInterface:: |
public | function | Returns the URI elements of the entity. |