function commons_search_theme_registry_alter in Drupal Commons 7.3
Implements hook_theme_registry_alter().
File
- modules/
commons/ commons_search/ commons_search.module, line 145
Code
function commons_search_theme_registry_alter(&$theme_registry) {
// Remove AT breadcrumb preprocess since it adds raw RDFa data into the title.
$theme_registry['breadcrumb']['preprocess functions'] = array_flip($theme_registry['breadcrumb']['preprocess functions']);
unset($theme_registry['breadcrumb']['preprocess functions']['adaptivetheme_preprocess_breadcrumb']);
$theme_registry['breadcrumb']['preprocess functions'] = array_flip($theme_registry['breadcrumb']['preprocess functions']);
}