public static function ClipboardJs::defaultSettings in Clipboard.js 8
Same name and namespace in other branches
- 2.0.x src/Plugin/Field/FieldFormatter/ClipboardJs.php \Drupal\clipboardjs\Plugin\Field\FieldFormatter\ClipboardJs::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/ FieldFormatter/ ClipboardJs.php, line 30
Class
- ClipboardJs
- Plugin implementation of the 'clipboard' formatter.
Namespace
Drupal\clipboardjs\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [] + parent::defaultSettings();
}