You are here

public function TestConfigurableContextAwarePlugin::getConfiguration in Drupal 9

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurableInterface::getConfiguration

File

core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php, line 170

Class

TestConfigurableContextAwarePlugin

Namespace

Drupal\KernelTests\Core\Plugin\Context

Code

public function getConfiguration() {
  return [
    'context' => [
      'nato_letter' => 'Alpha',
    ],
  ];
}