You are here

public function JQueryColorpickerWidget::settingsSummary in Jquery Colorpicker 8.2

Returns a short summary for the current widget settings.

If an empty result is returned, a UI can still be provided to display a settings form in case the widget has configurable settings.

Return value

array A short summary of the widget settings.

Overrides ColorapiWidgetBase::settingsSummary

File

src/Plugin/Field/FieldWidget/JQueryColorpickerWidget.php, line 25

Class

JQueryColorpickerWidget
The default jQuery Colorpicker field widget.

Namespace

Drupal\jquery_colorpicker\Plugin\Field\FieldWidget

Code

public function settingsSummary() {
  $summary = [];
  $summary['overview'] = $this
    ->t('A jQuery Colorpicker color widget.');
  return $summary;
}