function 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.