EntityExampleBasic extends Entity.

A subclass of Entity is a requirement for creating a custom entity. It is also a minimum requirement to define the methods included here, even as empty functions.

Hierarchy

Expanded class hierarchy of EntityExampleBasic

File

modules/examples/entity_example/entity_example.inc, line 11

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::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
EntityExampleBasic::bundle public function Implements EntityInterface::bundle(). Overrides Entity::bundle
EntityExampleBasic::entityType public function Implements EntityInterface::entityType(). Overrides EntityInterface::entityType
EntityExampleBasic::id public function Implements EntityInterface::id(). Overrides EntityInterface::id
EntityExampleBasic::label public function Implements EntityInterface::label(). Overrides EntityInterface::label
EntityExampleBasic::uri public function Implements EntityInterface::uri(). Overrides EntityInterface::uri