You are here

function _webform_defaults_time in Webform 7.4

Same name and namespace in other branches
  1. 5.2 components/time.inc \_webform_defaults_time()
  2. 6.3 components/time.inc \_webform_defaults_time()
  3. 6.2 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' => '',
    'required' => 0,
    'extra' => array(
      'timezone' => 'user',
      'start_time' => '',
      'end_time' => '',
      'hourformat' => '12-hour',
      'minuteincrements' => 1,
      'title_display' => 0,
      'description' => '',
      'description_above' => FALSE,
      'private' => FALSE,
      'analysis' => FALSE,
    ),
  );
}