You are here

function _webform_defaults_time in Webform 6.3

Same name and namespace in other branches
  1. 5.2 components/time.inc \_webform_defaults_time()
  2. 6.2 components/time.inc \_webform_defaults_time()
  3. 7.4 components/time.inc \_webform_defaults_time()
  4. 7.3 components/time.inc \_webform_defaults_time()

Implements _webform_defaults_component().

File

components/time.inc, line 14
Webform module time component.

Code

function _webform_defaults_time() {
  return array(
    'name' => '',
    'form_key' => NULL,
    'pid' => 0,
    'weight' => 0,
    'value' => '',
    'mandatory' => 0,
    'extra' => array(
      'timezone' => 'user',
      'hourformat' => '12-hour',
      'minuteincrements' => 1,
      'title_display' => 0,
      'description' => '',
      'private' => FALSE,
    ),
  );
}