You are here

protected function AnnotatedClassDiscovery::getPluginNamespaces in Drupal 9

Same name in this branch
  1. 9 core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::getPluginNamespaces()
  2. 9 core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery::getPluginNamespaces()
Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery::getPluginNamespaces()

Gets an array of PSR-4 namespaces to search for plugin classes.

Return value

string[]

1 call to AnnotatedClassDiscovery::getPluginNamespaces()
AnnotatedClassDiscovery::getDefinitions in core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php
Gets the definition of all plugins for this type.
1 method overrides AnnotatedClassDiscovery::getPluginNamespaces()
AnnotatedClassDiscovery::getPluginNamespaces in core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php
Gets an array of PSR-4 namespaces to search for plugin classes.

File

core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php, line 187

Class

AnnotatedClassDiscovery
Defines a discovery mechanism to find annotated plugins in PSR-4 namespaces.

Namespace

Drupal\Component\Annotation\Plugin\Discovery

Code

protected function getPluginNamespaces() {
  return $this->pluginNamespaces;
}