protected function NodePreviewConverter::lazyLoadItself in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/node/src/ProxyClass/ParamConverter/NodePreviewConverter.php \Drupal\node\ProxyClass\ParamConverter\NodePreviewConverter::lazyLoadItself()
Lazy loads the real service from the container.
Return value
object Returns the constructed real service.
File
- core/
modules/ node/ src/ ProxyClass/ ParamConverter/ NodePreviewConverter.php, line 65 - Contains \Drupal\node\ProxyClass\ParamConverter\NodePreviewConverter.
Class
- NodePreviewConverter
- Provides a proxy class for \Drupal\node\ParamConverter\NodePreviewConverter.
Namespace
Drupal\node\ProxyClass\ParamConverterCode
protected function lazyLoadItself() {
if (!isset($this->service)) {
$this->service = $this->container
->get($this->drupalProxyOriginalServiceId);
}
return $this->service;
}