_search_excerpt_replace

  1. drupal
    1. 5
    2. 8
    3. 6
    4. 7
Versions
5 – 6 _search_excerpt_replace(&$text)

Helper function for array_walk() in search_excerpt().

Code

modules/search/search.module, line 1267

<?php
function _search_excerpt_replace(&$text) {
  $text = preg_quote($text, '/');
}
?>