function _webform_defaults_time in Webform 6.2
Same name and namespace in other branches
- 5.2 components/time.inc \_webform_defaults_time()
- 6.3 components/time.inc \_webform_defaults_time()
- 7.4 components/time.inc \_webform_defaults_time()
- 7.3 components/time.inc \_webform_defaults_time()
Create a default time component.
File
- components/
time.inc, line 11 - Webform module time component.
Code
function _webform_defaults_time() {
return array(
'name' => '',
'form_key' => NULL,
'pid' => 0,
'weight' => 0,
'value' => '',
'mandatory' => 0,
'email' => 1,
'extra' => array(
'timezone' => 'site',
'check_daylight_savings' => 0,
'hourformat' => '12-hour',
'description' => '',
),
);
}