function _search_menu_access

7.x search.module _search_menu_access($name)

Access callback for search tabs.

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

File

drupal/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'));
}