function facetapi_facetapi_widgets in Facet API 6.3
Same name and namespace in other branches
- 7.2 facetapi.facetapi.inc \facetapi_facetapi_widgets()
- 7 facetapi.facetapi.inc \facetapi_facetapi_widgets()
File
- ./
facetapi.facetapi.inc, line 88 - Facet API hook implementations.
Code
function facetapi_facetapi_widgets() {
$path = drupal_get_path('module', 'facetapi') . '/plugins/facetapi';
return array(
'facetapi_widget' => array(
'handler' => array(
'label' => t('Abstract class for widgets'),
'class' => 'FacetapiWidget',
'abstract' => TRUE,
'path' => $path,
'file' => 'widget.inc',
'query types' => array(
'term',
'date',
),
),
),
'facetapi_links' => array(
'handler' => array(
'label' => t('Links'),
'class' => 'FacetapiWidgetLinks',
'parent' => 'facetapi_widget',
'path' => $path,
'file' => 'widget_links.inc',
'query types' => array(
'term',
'date',
),
),
),
'facetapi_checkbox_links' => array(
'handler' => array(
'label' => t('Links with checkboxes'),
'class' => 'FacetapiWidgetCheckboxLinks',
'parent' => 'facetapi_widget',
'path' => $path,
'file' => 'widget_links.inc',
'query types' => array(
'term',
'date',
),
),
),
);
}