public static function HoverPreview::defaultSettings in Hover Preview for ImageCache 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/ FieldFormatter/ HoverPreview.php, line 33
Class
- HoverPreview
- Plugin implementation of the 'hover_preview' formatter.
Namespace
Drupal\hover_preview\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return array(
'image_style' => '',
'image_link' => '',
'hover_preview_style' => '',
'hover_preview_action' => '',
) + parent::defaultSettings();
}