function ConfigurableTestClass::setDefaultConfiguration
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Plugin/ConfigurableTraitTest.php \Drupal\Tests\Core\Plugin\ConfigurableTestClass::setDefaultConfiguration()
Sets the default configuration this test will return.
Parameters
array $default_configuration: The default configuration to use.
File
-
core/
tests/ Drupal/ Tests/ Core/ Plugin/ ConfigurableTraitTest.php, line 188
Class
- ConfigurableTestClass
- A test class using ConfigurablePluginTrait that can modify the de.
Namespace
Drupal\Tests\Core\PluginCode
public function setDefaultConfiguration(array $default_configuration) : void {
$this->defaultConfiguration = $default_configuration;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.