class TestContextAwarePlugin
Same name in this branch
- 11.x core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php \Drupal\KernelTests\Core\Plugin\Context\TestContextAwarePlugin
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php \Drupal\KernelTests\Core\Plugin\TestContextAwarePlugin
- 9 core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php \Drupal\KernelTests\Core\Plugin\Context\TestContextAwarePlugin
- 8.9.x core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php \Drupal\KernelTests\Core\Plugin\TestContextAwarePlugin
- 8.9.x core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php \Drupal\KernelTests\Core\Plugin\Context\TestContextAwarePlugin
- 10 core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php \Drupal\KernelTests\Core\Plugin\TestContextAwarePlugin
- 10 core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php \Drupal\KernelTests\Core\Plugin\Context\TestContextAwarePlugin
Provides a test implementation of a context-aware plugin.
Hierarchy
- class \Drupal\KernelTests\Core\Plugin\TestContextAwarePlugin extends \Drupal\Core\Plugin\PluginBase implements \Drupal\Core\Plugin\ContextAwarePluginInterface uses \Drupal\Core\Plugin\ContextAwarePluginTrait
Expanded class hierarchy of TestContextAwarePlugin
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ ContextHandlerTest.php, line 73
Namespace
Drupal\KernelTests\Core\PluginView source
class TestContextAwarePlugin extends PluginBase implements ContextAwarePluginInterface {
use ContextAwarePluginTrait;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.