Skip navigation
Help

_search_menu_access

7 search.module _search_menu_access($name)

Access callback for search tabs.

1 string reference to '_search_menu_access'

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