protected function ViewsRevisionsConverter::lazyLoadItself in Config Entity Revisions 1.x
Same name and namespace in other branches
- 8 modules/views_revisions/src/ProxyClass/ParamConverter/ViewsRevisionsConverter.php \Drupal\views_revisions\ProxyClass\ParamConverter\ViewsRevisionsConverter::lazyLoadItself()
Lazy loads the real service from the container.
Return value
object Returns the constructed real service.
File
- modules/
views_revisions/ src/ ProxyClass/ ParamConverter/ ViewsRevisionsConverter.php, line 61
Class
- ViewsRevisionsConverter
- Provides a proxy class for \Drupal\views_revisions\ParamConverter\ViewsRevisionsConverter.
Namespace
Drupal\views_revisions\ProxyClass\ParamConverterCode
protected function lazyLoadItself() {
if (!isset($this->service)) {
$this->service = $this->container
->get($this->drupalProxyOriginalServiceId);
}
return $this->service;
}