namespace Drupal\KernelTests\Core\Plugin

Same name in other branches
  1. 11.x Drupal\KernelTests\Core\Plugin
  2. 9 Drupal\KernelTests\Core\Plugin
  3. 8.9.x Drupal\KernelTests\Core\Plugin
Object name File name Summary
ContextDefinitionTest core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php @coversDefaultClass \Drupal\Core\Plugin\Context\ContextDefinition
@group Plugin
ContextHandlerTest core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php @coversDefaultClass \Drupal\Core\Plugin\Context\ContextHandler
ContextPluginTest core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php Tests that contexts are properly set and working within plugins.
ContextTypedDataTest core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php Tests that contexts work properly with the typed data manager.
DefaultPluginManagerTest core/tests/Drupal/KernelTests/Core/Plugin/DefaultPluginManagerTest.php Tests the default plugin manager.
DerivativeTest core/tests/Drupal/KernelTests/Core/Plugin/DerivativeTest.php Tests that derivative plugins are correctly discovered.
EntityContextTypedDataTest core/tests/Drupal/KernelTests/Core/Plugin/EntityContextTypedDataTest.php Tests the interaction between entity context and typed data.
FactoryTest core/tests/Drupal/KernelTests/Core/Plugin/FactoryTest.php Tests that plugins are correctly instantiated.
InspectionTest core/tests/Drupal/KernelTests/Core/Plugin/InspectionTest.php Tests that plugins implementing PluginInspectionInterface can be inspected.
PluginExistsConstraintValidatorTest core/tests/Drupal/KernelTests/Core/Plugin/PluginExistsConstraintValidatorTest.php @group Plugin
@group Validation
PluginTestBase core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php Base class for Plugin API unit tests.
TestContextAwarePlugin core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php Provides a test implementation of a context-aware plugin.

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