public static function Details::defaultSettings in Double Field 4.x
Same name and namespace in other branches
- 8.3 src/Plugin/Field/FieldFormatter/Details.php \Drupal\double_field\Plugin\Field\FieldFormatter\Details::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides Base::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ Details.php, line 22
Class
- Details
- Plugin implementations for 'details' formatter.
Namespace
Drupal\double_field\Plugin\Field\FieldFormatterCode
public static function defaultSettings() : array {
return [
'open' => TRUE,
] + parent::defaultSettings();
}