public static function EditableFieldsFieldFormatter::defaultSettings in Editable Fields 8
Same name and namespace in other branches
- 1.0.x src/Plugin/Field/FieldFormatter/EditableFieldsFieldFormatter.php \Drupal\editablefields\Plugin\Field\FieldFormatter\EditableFieldsFieldFormatter::defaultSettings()
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/ EditableFieldsFieldFormatter.php, line 68
Class
- EditableFieldsFieldFormatter
- Plugin implementation of the 'editablefields_formatter' formatter.
Namespace
Drupal\editablefields\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'form_mode' => 'default',
] + parent::defaultSettings();
}