Loads one or more entities.
Parameters
$ids:
An array of entity IDs, or FALSE to load all entities.
Return value
An array of entity objects indexed by their ids.
File
- drupal/core/lib/Drupal/Core/Entity/EntityStorageControllerInterface.php, line 41
- Contains \Drupal\Core\Entity\EntityStorageControllerInterface.
Class
- EntityStorageControllerInterface
- Defines a common interface for entity controller classes.
Namespace
Drupal\Core\Entity
Code
public function load(array $ids = NULL);