public static function PictureBackgroundFormatter::defaultSettings in Picture Background Formatter 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/ PictureBackgroundFormatter.php, line 32
Class
- PictureBackgroundFormatter
- Plugin implementation of the 'picture_background_formatter' formatter.
Namespace
Drupal\picture_background_formatter\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'selector' => '',
] + parent::defaultSettings();
}