You are here

function apachesolr_search_get_username in Apache Solr Search 6

Same name and namespace in other branches
  1. 5.2 apachesolr_search.module \apachesolr_search_get_username()
  2. 5 apachesolr_search.module \apachesolr_search_get_username()
  3. 6.2 apachesolr_search.module \apachesolr_search_get_username()

Callback function for the 'Filter by name' facet block.

1 string reference to 'apachesolr_search_get_username'
apachesolr_search_block in ./apachesolr_search.module
Implementation of hook_block().

File

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

Code

function apachesolr_search_get_username($facet) {
  if (is_numeric($facet)) {
    return theme('apachesolr_breadcrumb_uid', $facet);
  }
  return '';
}