You are here

function apachesolr_search_taxonomy_get_term in Apache Solr Search 6.2

1 string reference to 'apachesolr_search_taxonomy_get_term'
apachesolr_search_apachesolr_facets in ./apachesolr_search.module
Implementation of hook_apachesolr_facets().

File

./apachesolr_search.module, line 1073
Provides a content search implementation for node content for use with the Apache Solr search application.

Code

function apachesolr_search_taxonomy_get_term($tid) {
  if (function_exists('taxonomy_get_term')) {
    $term = taxonomy_get_term($tid);
    return $term->name;
  }
}