function tabs_menu in Javascript Tools 5
Implementation of hook_menu().
File
- tabs/
tabs.module, line 11 - API for creating tabbed pages.
Code
function tabs_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/settings/tabs',
'title' => t('Tabs'),
'description' => t('Configuration for tabs'),
'callback' => 'drupal_get_form',
'callback arguments' => array(
'tabs_admin_settings',
),
);
}
else {
tabs_load();
}
return $items;
}