_search_excerpt_replace
function _search_excerpt_replace
_search_excerpt_replace(&$text)
Helper function for array_walk() in search_excerpt().
File
- modules/search/search.module, line 1267
- Enables site-wide keyword searching.
Code
function _search_excerpt_replace(&$text) { $text = preg_quote($text, '/'); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!search!search.module/function/_search_excerpt_replace/7.x