function ContentEntityNullStorage::loadRevision

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php \Drupal\Core\Entity\ContentEntityNullStorage::loadRevision()
  2. 8.9.x core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php \Drupal\Core\Entity\ContentEntityNullStorage::loadRevision()
  3. 10 core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php \Drupal\Core\Entity\ContentEntityNullStorage::loadRevision()

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.