1.20.x search.module _search_menu_access($name)

Access callback for search tabs.

File

modules/search/search.module, line 354
Enables site-wide keyword searching.

Code

function _search_menu_access($name) {
  return user_access('search content') && (!function_exists($name . '_search_access') || module_invoke($name, 'search_access'));
}