EntityExampleBasicController extends BackdropDefaultEntityController.

Our subclass of BackdropDefaultEntityController lets us add a few important create, update, and delete methods.

Hierarchy

Expanded class hierarchy of EntityExampleBasicController

File

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

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.
EntityExampleBasicController::create public function Create and return a new entity_example_basic entity. Overrides EntityExampleBasicControllerInterface::create
EntityExampleBasicController::delete public function Delete a single entity. Overrides EntityExampleBasicControllerInterface::delete
EntityExampleBasicController::deleteMultiple public function Delete one or more entity_example_basic entities.
EntityExampleBasicController::save public function Saves the custom fields using backdrop_write_record(). Overrides EntityExampleBasicControllerInterface::save