container = $container; $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } /** * Lazy loads the real service from the container. * * @return object * Returns the constructed real service. */ protected function lazyLoadItself() { if (!isset($this->service)) { $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } /** * {@inheritdoc} */ public function installDefaultConfig($type, $name) { return $this->lazyLoadItself()->installDefaultConfig($type, $name); } /** * {@inheritdoc} */ public function installOptionalConfig(\Drupal\Core\Config\StorageInterface $storage = NULL, $dependency = array ( )) { return $this->lazyLoadItself()->installOptionalConfig($storage, $dependency); } /** * {@inheritdoc} */ public function installCollectionDefaultConfig($collection) { return $this->lazyLoadItself()->installCollectionDefaultConfig($collection); } /** * {@inheritdoc} */ public function setSourceStorage(\Drupal\Core\Config\StorageInterface $storage) { return $this->lazyLoadItself()->setSourceStorage($storage); } /** * {@inheritdoc} */ public function getSourceStorage() { return $this->lazyLoadItself()->getSourceStorage(); } /** * {@inheritdoc} */ public function setSyncing($status) { return $this->lazyLoadItself()->setSyncing($status); } /** * {@inheritdoc} */ public function isSyncing() { return $this->lazyLoadItself()->isSyncing(); } /** * {@inheritdoc} */ public function checkConfigurationToInstall($type, $name) { return $this->lazyLoadItself()->checkConfigurationToInstall($type, $name); } } }