You are here

public function EdgeEntityStorageBase::loadRevision in Apigee Edge 8

Load a specific entity revision.

@todo Deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\RevisionableStorageInterface instead.

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

See also

https://www.drupal.org/node/2926958

https://www.drupal.org/node/2927226

File

src/Entity/Storage/EdgeEntityStorageBase.php, line 186

Class

EdgeEntityStorageBase
Base entity storage class for Apigee Edge entities.

Namespace

Drupal\apigee_edge\Entity\Storage

Code

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