class AnnotatedClassDiscovery

Same name in this branch

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

Hierarchy

Expanded class hierarchy of AnnotatedClassDiscovery

22 files declare their use of AnnotatedClassDiscovery

File

drupal/core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php, line 15
Definition of Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery.

Namespace

Drupal\Core\Plugin\Discovery
View source

Members

Namesort descending Modifiers Type Description Overrides
AnnotatedClassDiscovery::$annotationNamespaces protected property The namespaces of classes that can be used as annotations.
AnnotatedClassDiscovery::$owner protected property The module name that defines the plugin type.
AnnotatedClassDiscovery::$pluginDefinitionAnnotationName protected property The name of the annotation that contains the plugin definition.
AnnotatedClassDiscovery::$pluginNamespaces protected property The namespaces within which to find plugin classes.
AnnotatedClassDiscovery::$rootNamespacesIterator protected property An object containing the namespaces to look for plugin implementations.
AnnotatedClassDiscovery::$type protected property The plugin type, for example filter.
AnnotatedClassDiscovery::getAnnotationNamespaces protected function Returns an array of PSR-0 namespaces to search for annotation classes.
AnnotatedClassDiscovery::getDefinition public function Implements Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinition(). Overrides DiscoveryInterface::getDefinition
AnnotatedClassDiscovery::getDefinitions public function Implements Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions(). Overrides DiscoveryInterface::getDefinitions 1
AnnotatedClassDiscovery::getPluginNamespaces protected function Returns an array of PSR-0 namespaces to search for plugin classes. Overrides AnnotatedClassDiscovery::getPluginNamespaces
AnnotatedClassDiscovery::__construct function Constructs an AnnotatedClassDiscovery object. Overrides AnnotatedClassDiscovery::__construct