public function DrupalEntityControllerInterface::load
7.x entity.inc | public DrupalEntityControllerInterface::load($ids = array(), $conditions = array()) |
Loads one or more entities.
Parameters
$ids: An array of entity IDs, or FALSE to load all entities.
$conditions: An array of conditions in the form 'field' => $value.
Return value
An array of entity objects indexed by their ids. When no results are found, an empty array is returned.
1 method overrides DrupalEntityControllerInterface::load()
- DrupalDefaultEntityController::load in drupal-7.x/
includes/ entity.inc - Implements DrupalEntityControllerInterface::load().
File
- drupal-7.x/
includes/ entity.inc, line 37
Class
- DrupalEntityControllerInterface
- Interface for entity controller classes.
Code
public function load($ids = array(), $conditions = array());