public static function MediaElementVideoFieldFormatter::defaultSettings in MediaElement 8
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides FileVideoFormatter::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ MediaElementVideoFieldFormatter.php, line 198
Class
- MediaElementVideoFieldFormatter
- Plugin implementation of the 'mediaelement_file_video' formatter.
Namespace
Drupal\mediaelement\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return self::traitDefaultSettings() + [
'poster_image_field' => 'none',
'poster_image_style' => 'raw',
];
}