public static function DateTimeDatelistNoTimeWidget::defaultSettings in Datetime Extras 8
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides DateTimeDatelistWidget::defaultSettings
File
- src/
Plugin/ Field/ FieldWidget/ DateTimeDatelistNoTimeWidget.php, line 25
Class
- DateTimeDatelistNoTimeWidget
- Plugin implementation of the 'datetime_datelist_no_time' widget.
Namespace
Drupal\datetime_extras\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'date_year_range' => '1900:2050',
] + parent::defaultSettings();
}