You are here

public function RevisionableStorageInterface::loadMultipleRevisions in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php \Drupal\Core\Entity\RevisionableStorageInterface::loadMultipleRevisions()
  2. 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\Entity

Code

public function loadMultipleRevisions(array $revision_ids);