You are here

function field_group_element_info in Field Group 7

Same name and namespace in other branches
  1. 7.2 field_group.module \field_group_element_info()

Implements hook_element_info().

File

./field_group.module, line 1319
Fieldgroup module.

Code

function field_group_element_info() {
  $types['horizontal_tabs'] = array(
    '#theme_wrappers' => array(
      'horizontal_tabs',
    ),
    '#default_tab' => '',
    '#process' => array(
      'form_process_horizontal_tabs',
    ),
  );
  $types['multipage'] = array(
    '#theme_wrappers' => array(
      'multipage',
    ),
    '#default_tab' => '',
    '#process' => array(
      'form_process_multipage',
    ),
  );
  $types['multipage_pane'] = array(
    '#value' => NULL,
    '#process' => array(
      'form_process_fieldset',
      'ajax_process_form',
    ),
    '#pre_render' => array(
      'form_pre_render_fieldset',
    ),
    '#theme_wrappers' => array(
      'multipage_pane',
    ),
  );
  return $types;
}