You are here

public static function DateRecurModularOscarWidget::defaultSettings in Recurring Date Field Modular Widgets 3.x

Same name and namespace in other branches
  1. 8 src/Plugin/Field/FieldWidget/DateRecurModularOscarWidget.php \Drupal\date_recur_modular\Plugin\Field\FieldWidget\DateRecurModularOscarWidget::defaultSettings()
  2. 2.x src/Plugin/Field/FieldWidget/DateRecurModularOscarWidget.php \Drupal\date_recur_modular\Plugin\Field\FieldWidget\DateRecurModularOscarWidget::defaultSettings()

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides PluginSettingsBase::defaultSettings

File

src/Plugin/Field/FieldWidget/DateRecurModularOscarWidget.php, line 81

Class

DateRecurModularOscarWidget
Date recur opening hours widget.

Namespace

Drupal\date_recur_modular\Plugin\Field\FieldWidget

Code

public static function defaultSettings() : array {
  return [
    'all_day_toggle' => TRUE,
  ] + parent::defaultSettings();
}