addCachedDiscovery example

$this->service = $this->container->get($this->drupalProxyOriginalServiceId);
            }

            return $this->service;
        }

        /** * {@inheritdoc} */
        public function addCachedDiscovery(\Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface $cached_discovery)
        {
            return $this->lazyLoadItself()->addCachedDiscovery($cached_discovery);
        }

        /** * {@inheritdoc} */
        public function clearCachedDefinitions()
        {
            return $this->lazyLoadItself()->clearCachedDefinitions();
        }

    }

}
Home | Imprint | This part of the site doesn't use cookies.