public function ContentEntityNullStorage::loadRevision in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php \Drupal\Core\Entity\ContentEntityNullStorage::loadRevision()
- 9 core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php \Drupal\Core\Entity\ContentEntityNullStorage::loadRevision()
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 ContentEntityStorageBase::loadRevision
See also
https://www.drupal.org/node/2926958
https://www.drupal.org/node/2927226
File
- core/
lib/ Drupal/ Core/ Entity/ ContentEntityNullStorage.php, line 37
Class
- ContentEntityNullStorage
- Defines a null entity storage.
Namespace
Drupal\Core\EntityCode
public function loadRevision($revision_id) {
return NULL;
}