function theme_apachesolr_search_snippets in Apache Solr Search 8
Same name and namespace in other branches
- 5.2 apachesolr_search.module \theme_apachesolr_search_snippets()
- 6.3 apachesolr_search.module \theme_apachesolr_search_snippets()
- 6 apachesolr_search.module \theme_apachesolr_search_snippets()
- 6.2 apachesolr_search.module \theme_apachesolr_search_snippets()
- 7 apachesolr_search.module \theme_apachesolr_search_snippets()
Theme the highlighted snippet text for a search entry.
Parameters
array $vars:
File
- ./
apachesolr_search.module, line 1721 - Provides a content search implementation for node content for use with the Apache Solr search application.
Code
function theme_apachesolr_search_snippets($vars) {
return implode(' ... ', $vars['flattened_snippets']) . ' ...';
}