protected function AnnotatedClassDiscovery::getPluginNamespaces in Drupal 10
Same name in this branch
- 10 core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::getPluginNamespaces()
- 10 core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery::getPluginNamespaces()
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery::getPluginNamespaces()
- 9 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[]
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\DiscoveryCode
protected function getPluginNamespaces() {
return $this->pluginNamespaces;
}