function apachesolr_search_apachesolr_theme_breadcrumb_alter in Apache Solr Search 6.2
Same name and namespace in other branches
- 5.2 apachesolr_search.module \apachesolr_search_apachesolr_theme_breadcrumb_alter()
Alters the function used to theme breadcrumbs
Parameters
string $fieldname:
File
- ./
apachesolr_search.module, line 1431 - Provides a content search implementation for node content for use with the Apache Solr search application.
Code
function apachesolr_search_apachesolr_theme_breadcrumb_alter(&$fieldname) {
$matches = preg_split('/_cck_/', $fieldname);
if (isset($matches[1])) {
$fieldname = 'apachesolr_breadcrumb_cck';
}
}