You are here

public function KeyValueEntityStorage::loadRevision in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php \Drupal\Core\Entity\KeyValueStore\KeyValueEntityStorage::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.

Overrides EntityStorageInterface::loadRevision

File

core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php, line 134
Contains \Drupal\Core\Entity\KeyValueStore\KeyValueEntityStorage.

Class

KeyValueEntityStorage
Provides a key value backend for entities.

Namespace

Drupal\Core\Entity\KeyValueStore

Code

public function loadRevision($revision_id) {
  return NULL;
}