EntityExampleBasicControllerInterface definition.
We create an interface here because anyone could come along and use hook_entity_info_alter() to change our controller class. We want to let them know what methods our class needs in order to function with the rest of the module, so here's a handy list.
Implemented by
Hierarchy
- interface EntityControllerInterface
- interface EntityExampleBasicControllerInterface
Expanded class hierarchy of EntityExampleBasicControllerInterface
See also
File
- modules/
examples/ entity_example/ entity_example.inc, line 81
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. |
EntityExampleBasicControllerInterface:: |
public | function | Create an entity. |
EntityExampleBasicControllerInterface:: |
public | function | Delete an entity. |
EntityExampleBasicControllerInterface:: |
public | function | Save an entity. |