function ViewUIConverter::lazyLoadItself
Same name in other branches
- 9 core/modules/views_ui/src/ProxyClass/ParamConverter/ViewUIConverter.php \Drupal\views_ui\ProxyClass\ParamConverter\ViewUIConverter::lazyLoadItself()
- 10 core/modules/views_ui/src/ProxyClass/ParamConverter/ViewUIConverter.php \Drupal\views_ui\ProxyClass\ParamConverter\ViewUIConverter::lazyLoadItself()
- 11.x core/modules/views_ui/src/ProxyClass/ParamConverter/ViewUIConverter.php \Drupal\views_ui\ProxyClass\ParamConverter\ViewUIConverter::lazyLoadItself()
Lazy loads the real service from the container.
Return value
object Returns the constructed real service.
File
-
core/
modules/ views_ui/ src/ ProxyClass/ ParamConverter/ ViewUIConverter.php, line 61
Class
- ViewUIConverter
- Provides a proxy class for \Drupal\views_ui\ParamConverter\ViewUIConverter.
Namespace
Drupal\views_ui\ProxyClass\ParamConverterCode
protected function lazyLoadItself() {
if (!isset($this->service)) {
$this->service = $this->container
->get($this->drupalProxyOriginalServiceId);
}
return $this->service;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.