function ViewUIConverter::lazyLoadItself
Same name and namespace 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 <a href="/api/drupal/core%21modules%21views_ui%21src%21ParamConverter%21ViewUIConverter.php/class/ViewUIConverter/8.9.x" title="Provides upcasting for a view entity to be used in the Views UI." class="local">\Drupal\views_ui\ParamConverter\ViewUIConverter</a>.
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.