function EntityInterface::loadMultiple
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::loadMultiple()
- 10 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::loadMultiple()
- 8.9.x core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::loadMultiple()
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.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityInterface.php, line 195
Class
- EntityInterface
- Defines a common interface for all entity objects.
Namespace
Drupal\Core\EntityCode
public static function loadMultiple(array $ids = NULL);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.