You are here

function facetapi_test_facetapi_widgets in Facet API 7

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

Implements hook_facetapi_widgets().

File

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

Code

function facetapi_test_facetapi_widgets() {
  return array(
    'facetapi_nonterm' => array(
      'handler' => array(
        'label' => t('Nonterm Widget'),
        'class' => 'FacetapiTestWidgetNonterm',
        'query types' => array(
          'nonterm',
        ),
      ),
    ),
  );
}