You are here

function _webform_defaults_select in Webform 7.4

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

Implements _webform_defaults_component().

1 call to _webform_defaults_select()
webform_tokens in ./webform.tokens.inc
Implements hook_tokens().

File

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

Code

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