function _search_excerpt_replace
Helper function for array_walk() in search_excerpt().
1 string reference to '_search_excerpt_replace'
- search_excerpt in modules/
search/ search.module - Returns snippets from a piece of text, with certain keywords highlighted. Used for formatting search results.
File
-
modules/
search/ search.module, line 1267
Code
function _search_excerpt_replace(&$text) {
$text = preg_quote($text, '/');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.