namespace Drupal\KernelTests\Core\Plugin\Discovery

Same name in other branches
  1. 8.9.x Drupal\KernelTests\Core\Plugin\Discovery
  2. 10 Drupal\KernelTests\Core\Plugin\Discovery
  3. 9 Drupal\KernelTests\Core\Plugin\Discovery
Object name File name Summary
AnnotatedClassDiscoveryTest core/tests/Drupal/KernelTests/Core/Plugin/Discovery/AnnotatedClassDiscoveryTest.php Tests that plugins are correctly discovered using annotated classes.
CustomAnnotationClassDiscoveryTest core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomAnnotationClassDiscoveryTest.php Tests that a custom annotation class is used.
CustomDirectoryAnnotatedClassDiscoveryTest core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php Tests discovery of annotated plugins in a custom directory.
DiscoveryTestBase core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php Base class for plugin discovery tests.
StaticDiscoveryTest core/tests/Drupal/KernelTests/Core/Plugin/Discovery/StaticDiscoveryTest.php Tests that plugins using static discovery are correctly discovered.

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