function RevisionableStorageInterface::loadMultipleRevisions
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php \Drupal\Core\Entity\RevisionableStorageInterface::loadMultipleRevisions()
- 8.9.x core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php \Drupal\Core\Entity\RevisionableStorageInterface::loadMultipleRevisions()
- 11.x 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);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.