function EntityStorageBase::doLoadMultiple
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::doLoadMultiple()
- 10 core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::doLoadMultiple()
- 8.9.x core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::doLoadMultiple()
Performs storage-specific loading of entities.
Override this method to add custom functionality directly after loading. This is always called, while self::postLoad() is only called when there are actual results.
Parameters
array|null $ids: (optional) An array of entity IDs, or NULL to load all entities.
Return value
\Drupal\Core\Entity\EntityInterface[] Associative array of entities, keyed on the entity ID.
1 method overrides EntityStorageBase::doLoadMultiple()
- SqlContentEntityStorage::doLoadMultiple in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorage.php - Performs storage-specific loading of entities.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityStorageBase.php, line 384
Class
- EntityStorageBase
- A base entity storage class.
Namespace
Drupal\Core\EntityCode
abstract protected function doLoadMultiple(array $ids = NULL);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.