You are here

public static function JQueryColorpickerDefaultWidget::defaultSettings in Jquery Colorpicker 8

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/JQueryColorpickerDefaultWidget.php, line 74

Class

JQueryColorpickerDefaultWidget
The default jquery_colorpicker field widget.

Namespace

Drupal\jquery_colorpicker\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return [
    'color' => 'FFFFFF',
  ] + parent::defaultSettings();
}