You are here

public static function AutoImageStyleMediaResponsive::defaultSettings in Auto image style 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/AutoImageStyleMediaResponsive.php, line 33

Class

AutoImageStyleMediaResponsive
Plugin for responsive media image formatter.

Namespace

Drupal\auto_image_style\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'responsive_image_style_landscape' => '',
    'responsive_image_style_portrait' => '',
    'image_link' => '',
  ] + parent::defaultSettings();
}