public function DateWidgetBase::defaultValueFunction in Date 8
Return the callback used to set a date default value.
1 call to DateWidgetBase::defaultValueFunction()
- DateWidgetBase::__construct in lib/
Drupal/ date/ Plugin/ field/ widget/ DateWidgetBase.php - Constructs a DateWidget object.
File
- lib/
Drupal/ date/ Plugin/ field/ widget/ DateWidgetBase.php, line 48 - Definition of Drupal\date\Plugin\field\widget\DateWidgetBase.
Class
- DateWidgetBase
- Abstract class for all date widgets.
Namespace
Drupal\date\Plugin\field\widgetCode
public function defaultValueFunction() {
return 'date_default_value';
}