public static function ChartConfigItemDefaultWidget::defaultSettings in Charts 5.0.x
Same name and namespace in other branches
- 8.4 src/Plugin/Field/FieldWidget/ChartConfigItemDefaultWidget.php \Drupal\charts\Plugin\Field\FieldWidget\ChartConfigItemDefaultWidget::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
File
- src/
Plugin/ Field/ FieldWidget/ ChartConfigItemDefaultWidget.php, line 72
Class
- ChartConfigItemDefaultWidget
- Plugin implementation of the 'chart_config_default' widget.
Namespace
Drupal\charts\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'change_default_library' => TRUE,
] + parent::defaultSettings();
}