function search_invoke_preprocess

7.x search.module search_invoke_preprocess(&$text)
6.x search.module search_invoke_preprocess(&$text)
8.x search.module search_invoke_preprocess(&$text, $langcode = NULL)

Invokes hook_search_preprocess() in modules.

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

File

drupal/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);
  }
}