You are here

public function EntityStorageInterface::loadRevision in Zircon Profile 8.0

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

Load a specific entity revision.

Parameters

int|string $revision_id: The revision id.

Return value

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

3 methods override EntityStorageInterface::loadRevision()
ConfigEntityStorage::loadRevision in core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
Load a specific entity revision.
ContentEntityStorageBase::loadRevision in core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php
Load a specific entity revision.
KeyValueEntityStorage::loadRevision in core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php
Load a specific entity revision.

File

core/lib/Drupal/Core/Entity/EntityStorageInterface.php, line 88
Contains \Drupal\Core\Entity\EntityStorageInterface.

Class

EntityStorageInterface
Defines the interface for entity storage classes.

Namespace

Drupal\Core\Entity

Code

public function loadRevision($revision_id);