_search_excerpt_match_filter

  1. drupal
    1. 8
    2. 7
Versions
8 – 7 _search_excerpt_match_filter($var)

Helper function for array_filter() in search_search_excerpt_match().

Code

modules/search/search.module, line 1337

<?php
function _search_excerpt_match_filter($var) {
  return strlen(trim($var[0]));
}
?>