You are here

public function ContentEntityNullStorage::loadRevision in Zircon Profile 8

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

File

core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php, line 42
Contains \Drupal\Core\Entity\ContentEntityNullStorage.

Class

ContentEntityNullStorage
Defines a null entity storage.

Namespace

Drupal\Core\Entity

Code

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