You are here

public function FacetapiEmptyBehavior::getDefaultSettings in Facet API 7.2

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

Provides default values for the plugin settings.

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

Return value

array The defaults keyed by setting name to value.

1 call to FacetapiEmptyBehavior::getDefaultSettings()
FacetapiEmptyBehavior::__construct in plugins/facetapi/empty_behavior.inc
Constructs a FacetapiEmptyBehavior object.
1 method overrides FacetapiEmptyBehavior::getDefaultSettings()
FacetapiEmptyBehaviorText::getDefaultSettings in plugins/facetapi/empty_behavior_text.inc
Overrides FacetapiEmptyBehavior::getDefaultSettings().

File

plugins/facetapi/empty_behavior.inc, line 75
Base empty behavior plugin class and default implementation.

Class

FacetapiEmptyBehavior
Abstract class extended by empty behavior plugins.

Code

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