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.

1 call to EntityStorageControllerInterface::load()
EntityStorageControllerBase::loadUnchanged in drupal/core/lib/Drupal/Core/Entity/EntityStorageControllerBase.php
Loads an unchanged entity from the database.
2 methods override EntityStorageControllerInterface::load()

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);