protected function TimeRangePickerWidget::getInitialValues in Time Field Picker 8.5
Gets the initial values for the widget.
This is a replacement for the disabled default values functionality.
Return value
array The initial values, keyed by property.
File
- src/Plugin/ Field/ FieldWidget/ TimeRangePickerWidget.php, line 38 
Class
- TimeRangePickerWidget
- Plugin implementation of the 'time_range_picker_widget' widget.
Namespace
Drupal\time_picker\Plugin\Field\FieldWidgetCode
protected function getInitialValues() {
  $initial_values = [
    'start' => '',
    'end' => '',
  ];
  return $initial_values;
}