function TestConfigurableContextAwarePlugin::getConfiguration

Same name in other branches
  1. 10 core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php \Drupal\KernelTests\Core\Plugin\Context\TestConfigurableContextAwarePlugin::getConfiguration()
  2. 11.x core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php \Drupal\KernelTests\Core\Plugin\Context\TestConfigurableContextAwarePlugin::getConfiguration()

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',
        ],
    ];
}

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