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