public static function ImageUrlFormatter::defaultSettings in Drupal 10
Same name and namespace in other branches
- 8 core/modules/image/src/Plugin/Field/FieldFormatter/ImageUrlFormatter.php \Drupal\image\Plugin\Field\FieldFormatter\ImageUrlFormatter::defaultSettings()
- 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' => '',
];
}