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
Name Modifierssort descending Type Description
EntityExampleBasicController::create public function Create and return a new entity_example_basic entity. Overrides EntityExampleBasicControllerInterface::create
EntityExampleBasicController::save public function Saves the custom fields using backdrop_write_record(). Overrides EntityExampleBasicControllerInterface::save
EntityExampleBasicController::delete public function Delete a single entity. Overrides EntityExampleBasicControllerInterface::delete
EntityExampleBasicController::deleteMultiple public function Delete one or more entity_example_basic entities.
EntityControllerInterface::resetCache public function Resets the internal, static entity cache.
EntityControllerInterface::load public function Loads one or more entities.
EntityControllerInterface::resetStaticCache public function Resets the internal, static entity cache.
EntityControllerInterface::buildContent public function Builds a structured array representing the entity's content.
EntityControllerInterface::view public function Creates a rendered entity.