public function RevisionableStorageInterface::loadMultipleRevisions in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php \Drupal\Core\Entity\RevisionableStorageInterface::loadMultipleRevisions()
- 10 core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php \Drupal\Core\Entity\RevisionableStorageInterface::loadMultipleRevisions()
Loads multiple entity revisions.
Parameters
array $revision_ids: An array of revision IDs to load.
Return value
\Drupal\Core\Entity\RevisionableInterface[] An array of entity revisions keyed by their revision ID, or an empty array if none found.
2 methods override RevisionableStorageInterface::loadMultipleRevisions()
- ContentEntityStorageBase::loadMultipleRevisions in core/
lib/ Drupal/ Core/ Entity/ ContentEntityStorageBase.php - Loads multiple entity revisions.
- KeyValueContentEntityStorage::loadMultipleRevisions in core/
lib/ Drupal/ Core/ Entity/ KeyValueStore/ KeyValueContentEntityStorage.php - Loads multiple entity revisions.
File
- core/
lib/ Drupal/ Core/ Entity/ RevisionableStorageInterface.php, line 45
Class
- RevisionableStorageInterface
- A storage that supports revisionable entity types.
Namespace
Drupal\Core\EntityCode
public function loadMultipleRevisions(array $revision_ids);