_search_menu_access

  1. drupal
    1. 8
    2. 7
Versions
8 – 7 _search_menu_access($name)

Access callback for search tabs.

Code

modules/search/search.module, line 295

<?php
function _search_menu_access($name) {
  return user_access('search content') && (!function_exists($name . '_search_access') || module_invoke($name, 'search_access'));
}
?>