You are here

function _webform_defaults_optionsmarkup in Webform Options Markup 7.2

Same name and namespace in other branches
  1. 7 components/webform_optionsmarkup.inc \_webform_defaults_optionsmarkup()

Implements _webform_defaults_component().

File

components/webform_optionsmarkup.inc, line 14
Webform component that allows markup in checkbox and radio options.

Code

function _webform_defaults_optionsmarkup() {
  return array(
    'name' => '',
    'form_key' => NULL,
    'required' => FALSE,
    'pid' => 0,
    'weight' => 0,
    'value' => '',
    'html' => TRUE,
    '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,
      'attributes' => array(),
    ),
  );
}