public function FrontendEnvironmentBase::setConfiguration in Build Hooks 3.x
Same name and namespace in other branches
- 8.2 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 57
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);
}