function search_invoke_preprocess

Same name in other branches
  1. 9 core/modules/search/search.module \search_invoke_preprocess()
  2. 8.9.x 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

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.