You are here

function variable_element_info in Variable 7

Same name and namespace in other branches
  1. 7.2 variable.module \variable_element_info()

Implements hook_element_info()

File

./variable.module, line 362
Variable API module

Code

function variable_element_info() {

  // A fieldset with variable list
  $types['variable_fieldset'] = array(
    '#collapsible' => FALSE,
    '#collapsed' => FALSE,
    '#value' => NULL,
    '#process' => array(
      'variable_element_process_fieldset',
      'form_process_fieldset',
      'ajax_process_form',
    ),
    '#pre_render' => array(
      'form_pre_render_fieldset',
    ),
    '#theme_wrappers' => array(
      'fieldset',
    ),
    '#variable_list' => array(),
  );
  return $types;
}