| 7 search.api.php | hook_search_access() |
| 8 search.api.php | 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()
1 invocation of hook_search_access()
File
- modules/
search/ search.api.php, line 85 - Hooks provided by the Search module.
Code
function hook_search_access() {
return user_access('access content');
}
Login or register to post comments