You are here

function _webform_defaults_fieldset in Webform 6.2

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

Create a default fieldset component.

File

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

Code

function _webform_defaults_fieldset() {
  return array(
    'name' => '',
    'form_key' => NULL,
    'pid' => 0,
    'weight' => 0,
    'extra' => array(
      'collapsible' => 0,
      'collapsed' => 0,
      'description' => '',
    ),
  );
}