public function ChartsSettingsService::getChartsSettings in Charts 8.4
Same name and namespace in other branches
- 8.3 src/Services/ChartsSettingsService.php \Drupal\charts\Services\ChartsSettingsService::getChartsSettings()
- 5.0.x src/Services/ChartsSettingsService.php \Drupal\charts\Services\ChartsSettingsService::getChartsSettings()
Get Charts Settings.
Return value
array Charts settings.
Overrides ChartsSettingsServiceInterface::getChartsSettings
File
- src/
Services/ ChartsSettingsService.php, line 32
Class
- ChartsSettingsService
- Charts Settings Service.
Namespace
Drupal\charts\ServicesCode
public function getChartsSettings() {
$config = $this->configFactory
->getEditable('charts.settings');
return $config
->get('charts_default_settings');
}