Skip navigation
Help

_search_excerpt_replace

6 search.module _search_excerpt_replace(&$text)
7 search.module _search_excerpt_replace(&$text)

Helper function for array_walk() in search_excerpt().

1 string reference to '_search_excerpt_replace'

File

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

Code

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