You are here

function facetapi_facetapi_widgets in Facet API 7

Same name and namespace in other branches
  1. 6.3 facetapi.facetapi.inc \facetapi_facetapi_widgets()
  2. 7.2 facetapi.facetapi.inc \facetapi_facetapi_widgets()

Implements hook_facetapi_widgets().

File

./facetapi.facetapi.inc, line 140
Facet API hook implementations.

Code

function facetapi_facetapi_widgets() {
  return array(
    'facetapi_links' => array(
      'handler' => array(
        'label' => t('Links'),
        'class' => 'FacetapiWidgetLinks',
        'query types' => array(
          'term',
          'date',
        ),
      ),
    ),
    'facetapi_checkbox_links' => array(
      'handler' => array(
        'label' => t('Links with checkboxes'),
        'class' => 'FacetapiWidgetCheckboxLinks',
        'query types' => array(
          'term',
          'date',
        ),
      ),
    ),
  );
}