You are here

public function TestConfigurablePlugin::setConfiguration in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Plugin/Fixtures/TestConfigurablePlugin.php \Drupal\Tests\Core\Plugin\Fixtures\TestConfigurablePlugin::setConfiguration()

Sets the configuration for this plugin instance.

Parameters

array $configuration: An associative array containing the plugin's configuration.

Overrides ConfigurableInterface::setConfiguration

File

core/tests/Drupal/Tests/Core/Plugin/Fixtures/TestConfigurablePlugin.php, line 21

Class

TestConfigurablePlugin

Namespace

Drupal\Tests\Core\Plugin\Fixtures

Code

public function setConfiguration(array $configuration) {
  $this->configuration = $configuration;
}