You are here

function facetapi_test_facetapi_realm_info in Facet API 7.2

Same name and namespace in other branches
  1. 7 tests/facetapi_test.facetapi.inc \facetapi_test_facetapi_realm_info()

Implements hook_facetapi_realm_info().

File

tests/facetapi_test.facetapi.inc, line 11
Facet API hook implementations.

Code

function facetapi_test_facetapi_realm_info() {
  return array(
    'nodisplay' => array(
      'label' => t('No display'),
      'weight' => -5,
      'sortable' => FALSE,
      'default widget' => 'facetapi_links',
      'element type' => 'links',
      'description' => t('Dummy realm that never displays facets.'),
    ),
  );
}