public static function AddtocalView::defaultSettings in Add to Cal 8.2
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldFormatter/AddtocalView.php \Drupal\addtocal\Plugin\Field\FieldFormatter\AddtocalView::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides DateTimeCustomFormatter::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ AddtocalView.php, line 59
Class
- AddtocalView
- Add to Cal view formatter.
Namespace
Drupal\addtocal\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'separator' => '-',
'event_title' => '',
'location' => '',
'description' => '',
'past_events' => FALSE,
] + parent::defaultSettings();
}