function search_is_active

Determines access for the 'search' path.

1 string reference to 'search_is_active'
search_menu in drupal/core/modules/search/search.module
Implements hook_menu().

File

drupal/core/modules/search/search.module, line 218
Enables site-wide keyword searching.

Code

function search_is_active() {

  // This path cannot be accessed if there are no active modules.
  return user_access('search content') && search_get_info();
}