8.3.x EntityInterface.php public static EntityInterface::loadMultiple(array $ids = NULL)
8.0.x EntityInterface.php public static EntityInterface::loadMultiple(array $ids = NULL)
8.1.x EntityInterface.php public static EntityInterface::loadMultiple(array $ids = NULL)
8.2.x EntityInterface.php public static EntityInterface::loadMultiple(array $ids = NULL)
8.4.x EntityInterface.php 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

3 methods override EntityInterface::loadMultiple()
Entity::loadMultiple in core/lib/Drupal/Core/Entity/Entity.php
Loads one or more entities.
EntityInterface::loadMultiple in core/lib/Drupal/Core/Entity/EntityInterface.php
Loads one or more entities.
ViewUI::loadMultiple in core/modules/views_ui/src/ViewUI.php
Loads one or more entities.

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