You are here

function search_api_glossary_theme_registry_alter in Search API AZ Glossary 7

Implements hook_theme_registry_alter().

File

./search_api_glossary.module, line 192
Search api glossary module file.

Code

function search_api_glossary_theme_registry_alter(&$theme_registry) {
  $path = drupal_get_path('module', 'search_api_glossary');

  // Override the content type summary info.
  if (isset($theme_registry['facetapi_link_inactive'])) {
    $theme_registry['facetapi_link_inactive']['includes'][] = $path . '/search_api_glossary.theme.inc';
    $theme_registry['facetapi_link_inactive']['function'] = 'theme_search_api_glossary_facetapi_link_inactive';
    $theme_registry['facetapi_link_active']['includes'][] = $path . '/search_api_glossary.theme.inc';
    $theme_registry['facetapi_link_active']['function'] = 'theme_search_api_glossary_facetapi_link_active';
    $theme_registry['facetapi_count']['includes'][] = $path . '/search_api_glossary.theme.inc';
    $theme_registry['facetapi_count']['function'] = 'theme_search_api_glossary_facetapi_count';
  }
}