W3cubDocs

/Drupal 8

public function EntityStorageInterface::loadRevision

public EntityStorageInterface::loadRevision($revision_id)

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.

File

core/lib/Drupal/Core/Entity/EntityStorageInterface.php, line 83

Class

EntityStorageInterface
Defines the interface for entity storage classes.

Namespace

Drupal\Core\Entity

Code

public function loadRevision($revision_id);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityStorageInterface.php/function/EntityStorageInterface::loadRevision/8.1.x