function _webform_defaults_date in Webform 6.2
Same name and namespace in other branches
- 5.2 components/date.inc \_webform_defaults_date()
- 6.3 components/date.inc \_webform_defaults_date()
- 7.4 components/date.inc \_webform_defaults_date()
- 7.3 components/date.inc \_webform_defaults_date()
Create a default date component.
File
- components/
date.inc, line 11 - Webform module date component.
Code
function _webform_defaults_date() {
return array(
'name' => '',
'form_key' => NULL,
'pid' => 0,
'weight' => 0,
'value' => '',
'mandatory' => 0,
'email' => 1,
'extra' => array(
'check_daylight_savings' => 0,
'year_start' => '1900',
'year_end' => '2050',
'year_textfield' => 0,
'description' => '',
),
);
}