public function ChartsDefaultSettings::setDefaults in Charts 8.4
Same name and namespace in other branches
- 8.3 src/Settings/ChartsDefaultSettings.php \Drupal\charts\Settings\ChartsDefaultSettings::setDefaults()
- 5.0.x src/Settings/ChartsDefaultSettings.php \Drupal\charts\Settings\ChartsDefaultSettings::setDefaults()
Sets the defaults settings.
Parameters
array $defaults: The settings.
File
- src/
Settings/ ChartsDefaultSettings.php, line 121
Class
- ChartsDefaultSettings
- The chart default settings instance.
Namespace
Drupal\charts\SettingsCode
public function setDefaults(array $defaults) {
$this->defaults = $defaults;
}