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

Expanded class hierarchy of EntityExampleBasicControllerInterface

See also

hook_entity_info_alter()

File

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

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
EntityControllerInterface::buildContent public function Builds a structured array representing the entity's content.
EntityControllerInterface::load public function Loads one or more entities.
EntityControllerInterface::resetCache public function Resets the internal, static entity cache.
EntityControllerInterface::resetStaticCache public function Resets the internal, static entity cache.
EntityControllerInterface::view public function Creates a rendered entity.
EntityExampleBasicControllerInterface::create public function Create an entity.
EntityExampleBasicControllerInterface::delete public function Delete an entity.
EntityExampleBasicControllerInterface::save public function Save an entity.