Defines a common interface for entity controller classes.

All entity controller classes specified via the 'controller class' key returned by hook_entity_info() or hook_entity_info_alter() have to implement this interface.

Most simple, SQL-based entity controllers will do better by extending DefaultEntityController instead of implementing this interface directly.

Implemented by

Hierarchy

Expanded class hierarchy of EntityControllerInterface

File

core/modules/entity/entity.controller.inc, line 19
Entity API controller classes and interface.

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
EntityControllerInterface::load public function Loads one or more entities.
EntityControllerInterface::resetCache public function Resets the internal, static entity cache.