function google_appliance_local_task in Google Search Appliance 6.2
Make tabs work with or without a search term (menu tail).
1 call to google_appliance_local_task()
- google_appliance_menu in ./
google_appliance.module - Implementation of hook_menu().
File
- ./
google_appliance.module, line 183 - Google Search Appliance (GSA) / Google Mini integration
Code
function google_appliance_local_task(&$items, $path_base, $parent, $item) {
$items[$path_base . '/%google_appliance_menu_tail'] = $item + array(
'tab_parent' => $parent,
);
$items[$path_base] = $item + array(
'tab_parent' => $path_base . '/%',
);
}