protected function GroupContentUninstallValidator::lazyLoadItself in Group 8
Same name and namespace in other branches
- 2.0.x src/ProxyClass/UninstallValidator/GroupContentUninstallValidator.php \Drupal\group\ProxyClass\UninstallValidator\GroupContentUninstallValidator::lazyLoadItself()
Lazy loads the real service from the container.
Return value
object Returns the constructed real service.
File
- src/
ProxyClass/ UninstallValidator/ GroupContentUninstallValidator.php, line 60
Class
- GroupContentUninstallValidator
- Provides a proxy class for \Drupal\group\UninstallValidator\GroupContentUninstallValidator.
Namespace
Drupal\group\ProxyClass\UninstallValidatorCode
protected function lazyLoadItself() {
if (!isset($this->service)) {
$this->service = $this->container
->get($this->drupalProxyOriginalServiceId);
}
return $this->service;
}