interface DrupalEntityControllerInterface

  1. cis7 includes/ DrupalEntityControllerInterface
  2. cle7 includes/ DrupalEntityControllerInterface
  3. elmsmedia7 includes/ DrupalEntityControllerInterface
  4. icor7 includes/ DrupalEntityControllerInterface
  5. meedjum_blog7 includes/ DrupalEntityControllerInterface
  6. mooc7 includes/ 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.


Expanded class hierarchy of DrupalEntityControllerInterface


Contains filters are case sensitive
Namesort descending Modifiers Type Description
DrupalEntityControllerInterface::load public function Loads one or more entities.
DrupalEntityControllerInterface::resetCache public function Resets the internal, static entity cache.


includes/, line 14

View source
interface DrupalEntityControllerInterface {

   * Resets the internal, static entity cache.
   * @param $ids
   *   (optional) If specified, the cache is reset for the entities with the
   *   given ids only.
  public function resetCache(array $ids = NULL);

   * Loads one or more entities.
   * @param $ids
   *   An array of entity IDs, or FALSE to load all entities.
   * @param $conditions
   *   An array of conditions in the form 'field' => $value.
   * @return
   *   An array of entity objects indexed by their ids. When no results are
   *   found, an empty array is returned.
  public function load($ids = array(), $conditions = array());
1 string reference to 'DrupalEntityControllerInterface'
og-7.x-1.x.database.php in sites/all/modules/ulmus/og/tests/og-7.x-1.x.database.php
Filled installation of Drupal 7.0, for test purposes.



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.