public function DateTimeDatelistWidget::defaultValueFunction

Returns the callback used to set a date default value.

Return value

string The name of the callback to use when setting a default date value.

1 call to DateTimeDatelistWidget::defaultValueFunction()

File

drupal/core/modules/datetime/lib/Drupal/datetime/Plugin/field/widget/DatetimeDatelistWidget.php, line 53
Contains \Drupal\datetime\Plugin\field\widget\DateTimeDatelistWidget.

Class

DateTimeDatelistWidget
Plugin implementation of the 'datetime_datelist' widget.

Namespace

Drupal\datetime\Plugin\field\widget

Code

public function defaultValueFunction() {
  return 'datetime_default_value';
}