You are here

public function BooleanItemProcessor::defaultConfiguration in Facets 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ProcessorPluginBase::defaultConfiguration

File

src/Plugin/facets/processor/BooleanItemProcessor.php, line 88

Class

BooleanItemProcessor
Provides a processor for boolean labels.

Namespace

Drupal\facets\Plugin\facets\processor

Code

public function defaultConfiguration() {
  return [
    'on_value' => 'On',
    'off_value' => 'Off',
  ];
}