function ajax_facets_facetapi_widgets in Ajax facets 7
Same name and namespace in other branches
- 7.3 ajax_facets.module \ajax_facets_facetapi_widgets()
- 7.2 ajax_facets.module \ajax_facets_facetapi_widgets()
Implements hook_facetapi_widgets().
File
- ./
ajax_facets.module, line 33 - Ajax facets implementation.
Code
function ajax_facets_facetapi_widgets() {
return array(
// Custom widget to handle ajax-refreshed facets.
'facetapi_ajax_checkboxes' => array(
'handler' => array(
'label' => 'Ajax multiple checkboxes',
'class' => 'FacetapiAjaxWidgetCheckboxes',
'query types' => array(
'term',
),
),
),
'facetapi_ajax_select' => array(
'handler' => array(
'label' => 'Ajax selectbox',
'class' => 'FacetapiAjaxWidgetSelect',
'query types' => array(
'term',
),
),
),
);
}