You are here

public function TestContentEntityStorageBase::doLoadMultipleRevisionsFieldItems in Drupal 8

Actually loads revision field item values from the storage.

This method should always be overridden and not called either directly or from parent::doLoadMultipleRevisionsFieldItems. It will be marked abstract in drupal:9.0.0

@todo Remove this logic and make the method abstract in https://www.drupal.org/project/drupal/issues/3069696

Parameters

array $revision_ids: An array of revision identifiers.

Return value

\Drupal\Core\Entity\EntityInterface[] The specified entity revisions or an empty array if none are found.

Overrides ContentEntityStorageBase::doLoadMultipleRevisionsFieldItems

File

core/tests/Drupal/Tests/Core/Entity/LegacyContentEntityStorageBaseTest.php, line 47

Class

TestContentEntityStorageBase
Test class for ContentEntityStorageBaseTest.

Namespace

Drupal\Tests\Core\Entity

Code

public function doLoadMultipleRevisionsFieldItems($revision_ids) {
  return parent::doLoadMultipleRevisionsFieldItems($revision_ids);
}