public static function ImageUrlFormatter::defaultSettings in Drupal 8
Same name and namespace in other branches
- 9 core/modules/image/src/Plugin/Field/FieldFormatter/ImageUrlFormatter.php \Drupal\image\Plugin\Field\FieldFormatter\ImageUrlFormatter::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides ImageFormatter::defaultSettings
File
- core/
modules/ image/ src/ Plugin/ Field/ FieldFormatter/ ImageUrlFormatter.php, line 25
Class
- ImageUrlFormatter
- Plugin implementation of the 'image_url' formatter.
Namespace
Drupal\image\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'image_style' => '',
];
}