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
- interface EntityControllerInterface
Expanded class hierarchy of EntityControllerInterface
File
- core/
modules/ entity/ entity.controller.inc, line 18 - Entity API controller classes and interface.
Members
Name | Modifiers | Type | Description |
---|---|---|---|
EntityControllerInterface:: |
public | function | Builds a structured array representing the entity's content. |
EntityControllerInterface:: |
public | function | Loads one or more entities. |
EntityControllerInterface:: |
public | function | Resets the internal, static entity cache. |
EntityControllerInterface:: |
public | function | Resets the internal, static entity cache. |
EntityControllerInterface:: |
public | function | Creates a rendered entity. |