You are here

function apachesolr_og_apachesolr_facets in Apache Solr Search 6

Same name and namespace in other branches
  1. 5.2 contrib/apachesolr_og/apachesolr_og.module \apachesolr_og_apachesolr_facets()

Implementation of hook_apachesolr_facets().

1 call to apachesolr_og_apachesolr_facets()
apachesolr_og_block in contrib/apachesolr_og/apachesolr_og.module
Implementation of hook_block().

File

contrib/apachesolr_og/apachesolr_og.module, line 126
Integrates Organic Group info with Apache Solr search application.

Code

function apachesolr_og_apachesolr_facets() {
  $key = _apachesolr_og_gid_key();
  $facets[$key] = array(
    'info' => t('Apache Solr OG: Filter by Organic Group'),
    'facet_field' => $key,
  );
  return $facets;
}