public static function FileVideoFormatter::defaultSettings in File Entity (fieldable files) 8.2
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ FileVideoFormatter.php, line 80
Class
- FileVideoFormatter
- Plugin implementation of the 'file_video' formatter.
Namespace
Drupal\file_entity\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return array(
'controls' => TRUE,
'autoplay' => FALSE,
'loop' => FALSE,
'muted' => FALSE,
'playsinline' => FALSE,
'width' => NULL,
'height' => NULL,
'multiple_file_behavior' => 'tags',
) + parent::defaultSettings();
}