You are here

public function ChartsBaseSettingsForm::__construct in Charts 8.3

File

src/Settings/ChartsBaseSettingsForm.php, line 25

Class

ChartsBaseSettingsForm

Namespace

Drupal\charts\Settings

Code

public function __construct() {
  $this->defaultSettings = new ChartsDefaultSettings();
  $this->chartsTypes = new ChartsTypeInfo();
  $translation = \Drupal::service('string_translation');
  $this
    ->setStringTranslation($translation);
}