You are here

function apachesolr_tt in Apache Solr Search 5.2

Same name and namespace in other branches
  1. 6 apachesolr.module \apachesolr_tt()
  2. 6.2 apachesolr.module \apachesolr_tt()

Wrapper function for tt() if i18nstrings enabled.

2 calls to apachesolr_tt()
apachesolr_search_get_type in ./apachesolr_search.module
Callback function for the 'Filter by type' facet block.
theme_apachesolr_breadcrumb_type in ./apachesolr_search.module
Return the human readable text for a content type.

File

./apachesolr.module, line 1890
Integration with the Apache Solr search application.

Code

function apachesolr_tt($name, $string, $langcode = NULL, $update = FALSE) {
  if (module_exists('i18nstrings')) {
    return tt($name, $string, $langcode, $update);
  }
  else {
    return $string;
  }
}