public function ConfigEntityStorageDecorator::loadRevision in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::loadRevision()
- 8.2 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::loadRevision()
- 4.x webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::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 EntityStorageInterface::loadRevision
See also
https://www.drupal.org/node/2926958
https://www.drupal.org/node/2927226
File
- webprofiler/
src/ Entity/ Decorators/ Config/ ConfigEntityStorageDecorator.php, line 68
Class
- ConfigEntityStorageDecorator
- Class ConfigEntityStorageDecorator
Namespace
Drupal\webprofiler\Entity\Decorators\ConfigCode
public function loadRevision($revision_id) {
return $this
->getOriginalObject()
->loadRevision($revision_id);
}