protected function RoleAccessConsumerManager::getDiscovery in Role Access Control 8
Creates or Retrieves as Plugin Discovery Object.
Overrides DefaultPluginManager::getDiscovery
1 call to RoleAccessConsumerManager::getDiscovery()
- RoleAccessConsumerManager::__construct in src/
RoleAccessConsumerManager.php - Constructs a RoleAccessConsumerManager object.
File
- src/
RoleAccessConsumerManager.php, line 44
Class
- RoleAccessConsumerManager
- Provides a Manager for RoleAccessConsumer plugins.
Namespace
Drupal\racCode
protected function getDiscovery() {
if (!$this->discovery) {
$discovery = new AnnotatedClassDiscovery($this->subdir, $this->namespaces, $this->pluginDefinitionAnnotationName, $this->additionalAnnotationNamespaces);
$this->discovery = new ContainerDerivativeDiscoveryDecorator($discovery);
}
return $this->discovery;
}