namespace Drupal\Core\Plugin\Discovery

Same name in other branches
  1. 8.9.x Drupal\Core\Plugin\Discovery
  2. 10 Drupal\Core\Plugin\Discovery
  3. 11.x Drupal\Core\Plugin\Discovery
Object name File name Summary
AnnotatedClassDiscovery core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php Defines a discovery mechanism to find annotated plugins in PSR-4 namespaces.
ContainerDerivativeDiscoveryDecorator core/lib/Drupal/Core/Plugin/Discovery/ContainerDerivativeDiscoveryDecorator.php Injects dependencies into derivers if they use ContainerDeriverInterface.
ContainerDeriverInterface core/lib/Drupal/Core/Plugin/Discovery/ContainerDeriverInterface.php Creates additional plugin definitions.
HookDiscovery core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php Provides a hook-based plugin discovery class.
InfoHookDecorator core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php Allows info hook implementations to enhance discovered plugin definitions.
YamlDirectoryDiscovery core/lib/Drupal/Core/Plugin/Discovery/YamlDirectoryDiscovery.php Allows multiple YAML files per directory to define plugin definitions.
YamlDiscovery core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php Allows YAML files to define plugin definitions.
YamlDiscoveryDecorator core/lib/Drupal/Core/Plugin/Discovery/YamlDiscoveryDecorator.php Enables YAML discovery for plugin definitions.

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