public static function TimeRangeFormatter::defaultSettings in Opigno calendar 8
Same name and namespace in other branches
- 3.x src/Plugin/Field/FieldFormatter/TimeRangeFormatter.php \Drupal\opigno_calendar\Plugin\Field\FieldFormatter\TimeRangeFormatter::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides DateRangeCustomFormatter::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ TimeRangeFormatter.php, line 28
Class
- TimeRangeFormatter
- Time range with optional date formatter.
Namespace
Drupal\opigno_calendar\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'time_separator' => '\\T',
] + parent::defaultSettings();
}