You are here

public static function TimeRangeFormatter::defaultSettings in Opigno calendar 8

Same name and namespace in other branches
  1. 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\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'time_separator' => '\\T',
  ] + parent::defaultSettings();
}