You are here

abstract protected function EntityStorageBase::doLoadMultiple in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::doLoadMultiple()
  2. 9 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 call to EntityStorageBase::doLoadMultiple()
EntityStorageBase::loadMultiple in core/lib/Drupal/Core/Entity/EntityStorageBase.php
Loads one or more entities.
4 methods override EntityStorageBase::doLoadMultiple()
ConfigEntityStorage::doLoadMultiple in core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
Performs storage-specific loading of entities.
ContentEntityNullStorage::doLoadMultiple in core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php
Performs storage-specific loading of entities.
KeyValueEntityStorage::doLoadMultiple in core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php
Performs storage-specific loading of entities.
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 350

Class

EntityStorageBase
A base entity storage class.

Namespace

Drupal\Core\Entity

Code

protected abstract function doLoadMultiple(array $ids = NULL);