DrupalEntityControllerInterface
interface DrupalEntityControllerInterface
Interface for entity controller classes.
All entity controller classes specified via the 'controller class' key returned by hook_entity_info() or hook_entity_info_alter() have to implement this interface.
Most simple, SQL-based entity controllers will do better by extending DrupalDefaultEntityController instead of implementing this interface directly.
Hierarchy
- interface \DrupalEntityControllerInterface
Expanded class hierarchy of DrupalEntityControllerInterface
All classes that implement DrupalEntityControllerInterface
File
- includes/entity.inc, line 14
Members
Name | Modifiers | Type | Description |
---|---|---|---|
DrupalEntityControllerInterface::load | public | function | Loads one or more entities. |
DrupalEntityControllerInterface::resetCache | public | function | Resets the internal, static entity cache. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!entity.inc/interface/DrupalEntityControllerInterface/7.x