public static function DateRangeAllDayDefaultFormatter::defaultSettings in Date all day 8
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides DateRangeDefaultFormatter::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ DateRangeAllDayDefaultFormatter.php, line 31
Class
- DateRangeAllDayDefaultFormatter
- Plugin implementation of the 'Default' formatter for 'daterange' fields.
Namespace
Drupal\date_all_day\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'date_only_format' => 'date_all_day',
] + parent::defaultSettings();
}