You are here

function _webform_defaults_select in Webform 6.3

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

Implements _webform_defaults_component().

File

components/select.inc, line 11
Webform module multiple select component.

Code

function _webform_defaults_select() {
  return array(
    'name' => '',
    'form_key' => NULL,
    'mandatory' => 0,
    'pid' => 0,
    'weight' => 0,
    'value' => '',
    'extra' => array(
      'items' => '',
      'multiple' => NULL,
      'aslist' => NULL,
      'optrand' => 0,
      'other_option' => NULL,
      'other_text' => t('Other...'),
      'title_display' => 0,
      'description' => '',
      'custom_keys' => FALSE,
      'options_source' => '',
      'private' => FALSE,
    ),
  );
}