function AnnotatedClassDiscovery::getPluginNamespaces
Same name in this branch
- 10 core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::getPluginNamespaces()
Same name in other branches
- 9 core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::getPluginNamespaces()
- 9 core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery::getPluginNamespaces()
- 8.9.x core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::getPluginNamespaces()
- 8.9.x core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery::getPluginNamespaces()
- 11.x core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::getPluginNamespaces()
- 11.x 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\DiscoveryCode
protected function getPluginNamespaces() {
return $this->pluginNamespaces;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.