search_preprocess

Versions
4.6 – 5
search_preprocess(&$text)

Invokes hook_search_preprocess() in modules.

▾ 1 function calls search_preprocess()

search_keywords_split in modules/search.module
Splits a string into component words according to indexing rules.

Code

modules/search.module, line 302

<?php
function search_preprocess(&$text) {
  foreach (module_implements('search_preprocess') as $module) {
    $text = module_invoke($module, 'search_preprocess', $text);
  }
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.