You are here

public function ClipboardJs::settingsSummary in Clipboard.js 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/Field/FieldFormatter/ClipboardJs.php \Drupal\clipboardjs\Plugin\Field\FieldFormatter\ClipboardJs::settingsSummary()

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/ClipboardJs.php, line 46

Class

ClipboardJs
Plugin implementation of the 'clipboard' formatter.

Namespace

Drupal\clipboardjs\Plugin\Field\FieldFormatter

Code

public function settingsSummary() {
  $summary = [];
  return $summary;
}