public static function FileWidget::defaultSettings in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php \Drupal\file\Plugin\Field\FieldWidget\FileWidget::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
1 call to FileWidget::defaultSettings()
- ImageWidget::defaultSettings in core/
modules/ image/ src/ Plugin/ Field/ FieldWidget/ ImageWidget.php - Defines the default settings for this plugin.
1 method overrides FileWidget::defaultSettings()
- ImageWidget::defaultSettings in core/
modules/ image/ src/ Plugin/ Field/ FieldWidget/ ImageWidget.php - Defines the default settings for this plugin.
File
- core/
modules/ file/ src/ Plugin/ Field/ FieldWidget/ FileWidget.php, line 56 - Contains \Drupal\file\Plugin\Field\FieldWidget\FileWidget.
Class
- FileWidget
- Plugin implementation of the 'file_generic' widget.
Namespace
Drupal\file\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return array(
'progress_indicator' => 'throbber',
) + parent::defaultSettings();
}