You are here

public function FacetapiWidget::getDefaultSettings in Facet API 7.2

Same name and namespace in other branches
  1. 6.3 plugins/facetapi/widget.inc \FacetapiWidget::getDefaultSettings()
  2. 7 plugins/facetapi/widget.inc \FacetapiWidget::getDefaultSettings()

Provides default values for the plugin settings.

All settings added via FacetapiWidget::settingsForm() should have corresponding defaults in this method.

Return value

array The defaults keyed by setting name to value.

1 call to FacetapiWidget::getDefaultSettings()
FacetapiWidget::__construct in plugins/facetapi/widget.inc
Constructs a FacetapiWidget object.
1 method overrides FacetapiWidget::getDefaultSettings()
FacetapiWidgetLinks::getDefaultSettings in plugins/facetapi/widget_links.inc
Overrides FacetapiWidget::getDefaultSettings().

File

plugins/facetapi/widget.inc, line 210
Base widget plugin class and helper functions for facet sorting.

Class

FacetapiWidget
Abstract class extended by widget plugins.

Code

public function getDefaultSettings() {
  return array();
}