function hook_search_access
hook_search_access()
Define access to a custom search routine.
This hook allows a module to define permissions for a search tab.
Related topics
File
- modules/search/search.api.php, line 60
- Hooks provided by the Search module.
Code
function hook_search_access() { return user_access('access content'); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!search!search.api.php/function/hook_search_access/7.x