function _search_excerpt_match_filter in Drupal 7
Helper function for array_filter() in search_search_excerpt_match().
1 string reference to '_search_excerpt_match_filter'
- search_simplify_excerpt_match in modules/
search/ search.module - Find words in the original text that matched via search_simplify().
File
- modules/
search/ search.module, line 1342 - Enables site-wide keyword searching.
Code
function _search_excerpt_match_filter($var) {
return strlen(trim($var[0]));
}