1 search.module _search_excerpt_replace(&$text)

Helper function for array_walk() in search_excerpt().

File

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

Code

function _search_excerpt_replace(&$text) {
  $text = preg_quote($text, '/');
}