public function FacetapiWidgetCheckboxLinks::init in Facet API 6.3
Same name and namespace in other branches
- 7.2 plugins/facetapi/widget_links.inc \FacetapiWidgetCheckboxLinks::init()
- 7 plugins/facetapi/widget_links.inc \FacetapiWidgetCheckboxLinks::init()
Adds JavaScript settings.
Overrides FacetapiWidget::init
File
- plugins/
facetapi/ widget_links.inc, line 215 - Widgets for facets rendered as links.
Class
- FacetapiWidgetCheckboxLinks
- Widget that renders facets as a list of clickable checkboxes.
Code
public function init() {
parent::init();
$this->jsSettings['makeCheckboxes'] = 1;
}