public function EntityStorageControllerInterface::load

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.

2 methods override EntityStorageControllerInterface::load()

File

drupal/core/lib/Drupal/Core/Entity/EntityStorageControllerInterface.php, line 41
Definition of 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);