function RevisionableStorageInterface::loadRevision
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision()
- 8.9.x core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision()
- 10 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.
2 methods override RevisionableStorageInterface::loadRevision()
- ContentEntityStorageBase::loadRevision in core/
lib/ Drupal/ Core/ Entity/ ContentEntityStorageBase.php - KeyValueContentEntityStorage::loadRevision in core/
lib/ Drupal/ Core/ Entity/ KeyValueStore/ KeyValueContentEntityStorage.php
File
-
core/
lib/ Drupal/ Core/ Entity/ RevisionableStorageInterface.php, line 33
Class
- RevisionableStorageInterface
- A storage that supports revisionable entity types.
Namespace
Drupal\Core\EntityCode
public function loadRevision($revision_id);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.