You are here

public static function ResponsiveImageFormatter::defaultSettings in Image Hover Effects 8

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides ResponsiveImageFormatter::defaultSettings

File

src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php, line 30

Class

ResponsiveImageFormatter
Plugin for responsive image formatter.

Namespace

Drupal\image_hover_effects\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'hover_effect' => '',
    'hover_text' => '',
  ] + parent::defaultSettings();
}