You are here

function tabs_elements in Javascript Tools 5

Implementation of hook_elements().

File

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

Code

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