public function ChartBase::setConfiguration in Charts 8.4
Same name and namespace in other branches
- 5.0.x src/Plugin/chart/Library/ChartBase.php \Drupal\charts\Plugin\chart\Library\ChartBase::setConfiguration()
Sets the configuration for this plugin instance.
Parameters
array $configuration: An associative array containing the plugin's configuration.
Overrides ConfigurableInterface::setConfiguration
File
- src/
Plugin/ chart/ Library/ ChartBase.php, line 35
Class
- ChartBase
- Base class Chart plugins.
Namespace
Drupal\charts\Plugin\chart\LibraryCode
public function setConfiguration(array $configuration) {
$this->configuration = NestedArray::mergeDeep($this
->defaultConfiguration(), $configuration);
}