public function FrontendEnvironmentBase::setConfiguration in Build Hooks 8.2
Same name and namespace in other branches
- 3.x src/Plugin/FrontendEnvironmentBase.php \Drupal\build_hooks\Plugin\FrontendEnvironmentBase::setConfiguration()
Sets the configuration for this plugin instance.
Parameters
array $configuration: An associative array containing the plugin's configuration.
Overrides ConfigurableInterface::setConfiguration
1 call to FrontendEnvironmentBase::setConfiguration()
- FrontendEnvironmentBase::__construct in src/
Plugin/ FrontendEnvironmentBase.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
File
- src/
Plugin/ FrontendEnvironmentBase.php, line 56
Class
- FrontendEnvironmentBase
- Base class for Frontend environment plugins.
Namespace
Drupal\build_hooks\PluginCode
public function setConfiguration(array $configuration) {
$this->configuration = NestedArray::mergeDeep($this
->baseConfigurationDefaults(), $this
->defaultConfiguration(), $configuration);
}