public static function AutoImageStyleMediaDefault::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 ImageFormatter::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ AutoImageStyleMediaDefault.php, line 33
Class
- AutoImageStyleMediaDefault
- Plugin for responsive media image formatter.
Namespace
Drupal\auto_image_style\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'image_style_portrait' => '',
'image_style_landscape' => '',
'image_link' => '',
] + parent::defaultSettings();
}