You are here

public function ChartsDefaultSettings::setDefaults in Charts 8.3

Same name and namespace in other branches
  1. 8.4 src/Settings/ChartsDefaultSettings.php \Drupal\charts\Settings\ChartsDefaultSettings::setDefaults()
  2. 5.0.x src/Settings/ChartsDefaultSettings.php \Drupal\charts\Settings\ChartsDefaultSettings::setDefaults()

Parameters

array $defaults:

File

src/Settings/ChartsDefaultSettings.php, line 72

Class

ChartsDefaultSettings

Namespace

Drupal\charts\Settings

Code

public function setDefaults(array $defaults) {
  $this->defaults = $defaults;
}