public static function BootstrapDateRangeWidget::defaultSettings in Bootstrap DateTime Picker 8
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/ BootstrapDateRangeWidget.php, line 32
Class
- BootstrapDateRangeWidget
- Plugin implementation of the BootstrapDateTimeWidget widget.
Namespace
Drupal\bootstrap_datetime\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'hour_format' => '24h',
'allow_times' => '15',
'disable_days' => [],
'exclude_date' => '',
];
}