You are here

function _webform_defaults_hidden in Webform 6.2

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

Create a default hidden 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(
      'email' => 0,
    ),
  );
}