You are here

public function JqueryColorpickerDisplayFormatterBase::settingsSummary in Jquery Colorpicker 8.2

Returns a short summary for the current formatter settings.

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

Return value

string[] A short summary of the formatter settings.

Overrides FormatterBase::settingsSummary

File

src/Plugin/Field/FieldFormatter/JqueryColorpickerDisplayFormatterBase.php, line 22

Class

JqueryColorpickerDisplayFormatterBase
Base class for Color API Color Field Formatters.

Namespace

Drupal\jquery_colorpicker\Plugin\Field\FieldFormatter

Code

public function settingsSummary() {
  $summary['overview'] = $this
    ->t('Error: Please run update.php to solve this error.');
  return $summary;
}