You are here

function search_invoke_preprocess in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/search/search.module \search_invoke_preprocess()
  2. 6 modules/search/search.module \search_invoke_preprocess()
  3. 9 core/modules/search/search.module \search_invoke_preprocess()

Invokes hook_search_preprocess() in modules.

1 call to search_invoke_preprocess()
search_simplify in modules/search/search.module
Simplifies a string according to indexing rules.

File

modules/search/search.module, line 535
Enables site-wide keyword searching.

Code

function search_invoke_preprocess(&$text) {
  foreach (module_implements('search_preprocess') as $module) {
    $text = module_invoke($module, 'search_preprocess', $text);
  }
}