W3cubDocs

/Drupal 8

public static function EntityInterface::loadMultiple

public static EntityInterface::loadMultiple(array $ids = NULL)

Loads one or more entities.

Parameters

array $ids: An array of entity IDs, or NULL to load all entities.

Return value

static[] An array of entity objects indexed by their IDs.

Overrides EntityInterface::loadMultiple

File

core/lib/Drupal/Core/Entity/EntityInterface.php, line 255

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public static function loadMultiple(array $ids = NULL);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityInterface.php/function/EntityInterface::loadMultiple/8.1.x