You are here

function tabs_elements in Tabs (jQuery UI tabs) 6

Implementation of hook_elements().

File

./tabs.module, line 172
API for creating tabbed pages.

Code

function tabs_elements() {
  $type = array();
  $type['tabset'] = array(
    '#tabs_navigation' => variable_get('tabs_navigation', 0) ? TRUE : FALSE,
    '#pre_render' => array(
      'tabs_pre_render_tabset',
    ),
  );
  $type['tabpage'] = array(
    '#content' => '',
  );
  return $type;
}