You are here

function _webform_defaults_hidden in Webform 6.3

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

Implements _webform_defaults_component().

File

components/hidden.inc, line 11
Webform module hidden component.

Code

function _webform_defaults_hidden() {
  return array(
    'name' => '',
    'form_key' => NULL,
    'pid' => 0,
    'weight' => 0,
    'value' => '',
    'extra' => array(
      'private' => FALSE,
      'hidden_type' => 'value',
    ),
  );
}