public EntityStorageInterface::loadMultiple(array $ids = NULL)
Loads one or more entities.
Parameters
$ids: An array of entity IDs, or NULL to load all entities.
Return value
\Drupal\Core\Entity\EntityInterface[] An array of entity objects indexed by their IDs. Returns an empty array if no matching entities are found.
File
- core/lib/Drupal/Core/Entity/EntityStorageInterface.php, line 47
Class
- EntityStorageInterface
- Defines the interface for entity storage classes.
Namespace
Drupal\Core\Entity
Code
public function loadMultiple(array $ids = NULL);
Please login to continue.