public static function TimeRangeWidget::defaultSettings in Time Field For Drupal 8.x / 9.x 8
Same name and namespace in other branches
- 2.x src/Plugin/Field/FieldWidget/TimeRangeWidget.php \Drupal\time_field\Plugin\Field\FieldWidget\TimeRangeWidget::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/ TimeRangeWidget.php, line 69
Class
- TimeRangeWidget
- Plugin implementation of the 'time_widget' widget.
Namespace
Drupal\time_field\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'enabled' => FALSE,
'step' => 5,
] + parent::defaultSettings();
}