function facetapi_facetapi_realm_info in Facet API 7
Same name and namespace in other branches
- 6.3 facetapi.facetapi.inc \facetapi_facetapi_realm_info()
- 6 facetapi.module \facetapi_facetapi_realm_info()
- 7.2 facetapi.facetapi.inc \facetapi_facetapi_realm_info()
Implements hook_facetapi_realm_info().
File
- ./
facetapi.facetapi.inc, line 11 - Facet API hook implementations.
Code
function facetapi_facetapi_realm_info() {
$realms = array();
$realms['block'] = array(
'label' => t('Blocks'),
'weight' => -10,
'sortable' => FALSE,
'default widget' => 'facetapi_links',
'element type' => 'links',
'description' => t('The <em>Blocks</em> realm displays each facet in a separate <a href="@block-page">block</a>. Users are able to refine their searches in a drill-down fashion.', array(
'@block-page' => url('admin/structure/block', array(
'query' => array(
'destination' => current_path(),
),
)),
)),
);
return $realms;
}