EntityExampleBasicController extends BackdropDefaultEntityController.
Our subclass of BackdropDefaultEntityController lets us add a few important create, update, and delete methods.
Hierarchy
- class EntityExampleBasicController extends \DefaultEntityController implements EntityExampleBasicControllerInterface
Expanded class hierarchy of EntityExampleBasicController
File
- modules/
examples/ entity_example/ entity_example.inc, line 113
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. |
EntityExampleBasicController:: |
public | function |
Create and return a new entity_example_basic entity. Overrides EntityExampleBasicControllerInterface:: |
EntityExampleBasicController:: |
public | function |
Delete a single entity. Overrides EntityExampleBasicControllerInterface:: |
EntityExampleBasicController:: |
public | function | Delete one or more entity_example_basic entities. |
EntityExampleBasicController:: |
public | function |
Saves the custom fields using backdrop_write_record(). Overrides EntityExampleBasicControllerInterface:: |