function _search_excerpt_match_filter

7.x search.module _search_excerpt_match_filter($var)

Helper function for array_filter() in search_search_excerpt_match().

1 string reference to '_search_excerpt_match_filter'
search_simplify_excerpt_match in drupal/modules/search/search.module
Find words in the original text that matched via search_simplify().

File

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

Code

function _search_excerpt_match_filter($var) {
  return strlen(trim($var[0]));
}