function hook_search_access

Define access to a custom search routine.

This hook allows a module to define permissions for a search tab.

Related topics

2 functions implement hook_search_access()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

node_search_access in drupal/modules/node/node.module
Implements hook_search_access().
user_search_access in drupal/modules/user/user.module
Implements hook_search_access().
1 invocation of hook_search_access()
_search_menu_access in drupal/modules/search/search.module
Access callback for search tabs.


drupal/modules/search/search.api.php, line 60
Hooks provided by the Search module.


function hook_search_access() {
  return user_access('access content');