public static function SmartDateDatelistWidget::defaultSettings in Smart Date 3.2.x
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldWidget/SmartDateDatelistWidget.php \Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateDatelistWidget::defaultSettings()
- 8 src/Plugin/Field/FieldWidget/SmartDateDatelistWidget.php \Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateDatelistWidget::defaultSettings()
- 3.x src/Plugin/Field/FieldWidget/SmartDateDatelistWidget.php \Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateDatelistWidget::defaultSettings()
- 3.0.x src/Plugin/Field/FieldWidget/SmartDateDatelistWidget.php \Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateDatelistWidget::defaultSettings()
- 3.1.x src/Plugin/Field/FieldWidget/SmartDateDatelistWidget.php \Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateDatelistWidget::defaultSettings()
- 3.3.x src/Plugin/Field/FieldWidget/SmartDateDatelistWidget.php \Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateDatelistWidget::defaultSettings()
- 3.4.x src/Plugin/Field/FieldWidget/SmartDateDatelistWidget.php \Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateDatelistWidget::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides SmartDateWidgetBase::defaultSettings
File
- src/
Plugin/ Field/ FieldWidget/ SmartDateDatelistWidget.php, line 25
Class
- SmartDateDatelistWidget
- Plugin implementation of the 'smartdate_datelist' widget.
Namespace
Drupal\smart_date\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'increment' => '15',
'date_order' => 'YMD',
'time_type' => '24',
] + parent::defaultSettings();
}