function page_manager_search_view in Chaos Tool Suite (ctools) 6
Replacement function for normal search view.
This function resets the active trail because menu system loses track of it due to the special way we're handling search items.
1 string reference to 'page_manager_search_view'
- page_manager_search_menu_alter in page_manager/
plugins/ tasks/ search.inc - Callback defined by page_manager_search_page_manager_tasks().
File
- page_manager/
plugins/ tasks/ search.inc, line 152 - Handle the 'node view' override task.
Code
function page_manager_search_view($type = 'node') {
ctools_include('menu');
menu_set_active_trail(ctools_get_menu_trail('search/' . $type));
module_load_include('inc', 'search', 'search.pages');
return search_view($type);
}