ContentEntityNullStorage::loadRevision

public ContentEntityNullStorage::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.

Overrides ContentEntityStorageBase::loadRevision

File

core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php, line 37

Class

ContentEntityNullStorage
Defines a null entity storage.

Namespace

Drupal\Core\Entity

Code

public function loadRevision($revision_id) {
  return NULL;
}
doc_Drupal
2016-10-29 08:57:27
Comments
Leave a Comment

Please login to continue.