You are here

public function FacetapiWidgetCheckboxLinks::init in Facet API 6.3

Same name and namespace in other branches
  1. 7.2 plugins/facetapi/widget_links.inc \FacetapiWidgetCheckboxLinks::init()
  2. 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;
}