You are here

function _search_menu_access in Drupal 7

Access callback for search tabs.

1 string reference to '_search_menu_access'
search_menu in modules/search/search.module
Implements hook_menu().

File

modules/search/search.module, line 295
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'));
}