You are here

public function RevisionableStorageInterface::loadRevision in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision()

Loads a specific entity revision.

Parameters

int $revision_id: The revision ID.

Return value

\Drupal\Core\Entity\RevisionableInterface|null The specified entity revision or NULL if not found.

Overrides EntityStorageInterface::loadRevision

File

core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php, line 33

Class

RevisionableStorageInterface
A storage that supports revisionable entity types.

Namespace

Drupal\Core\Entity

Code

public function loadRevision($revision_id);