class TestConfigurableContextAwarePlugin in Drupal 10
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php \Drupal\KernelTests\Core\Plugin\Context\TestConfigurableContextAwarePlugin
Hierarchy
- class \Drupal\KernelTests\Core\Plugin\Context\TestConfigurableContextAwarePlugin extends \Drupal\Core\Plugin\PluginBase implements \Drupal\Component\Plugin\ConfigurableInterface, \Drupal\Core\Plugin\ContextAwarePluginInterface uses \Drupal\Core\Plugin\ContextAwarePluginTrait
Expanded class hierarchy of TestConfigurableContextAwarePlugin
File
- core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ Context/ ContextAwarePluginTraitTest.php, line 125
Namespace
Drupal\KernelTests\Core\Plugin\ContextView source
class TestConfigurableContextAwarePlugin extends PluginBase implements ConfigurableInterface, ContextAwarePluginInterface {
use ContextAwarePluginTrait;
/**
* {@inheritdoc}
*/
public function defaultConfiguration() {
return [];
}
/**
* {@inheritdoc}
*/
public function getConfiguration() {
return [
'context' => [
'nato_letter' => 'Alpha',
],
];
}
/**
* {@inheritdoc}
*/
public function setConfiguration(array $configuration) {
}
}