You are here

public function GranularItemProcessor::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/GranularItemProcessor.php, line 42

Class

GranularItemProcessor
Provides a processor for granularity.

Namespace

Drupal\facets\Plugin\facets\processor

Code

public function defaultConfiguration() {
  return [
    'granularity' => 1,
    'min_value' => '',
    'max_value' => '',
    'include_lower' => TRUE,
    'include_upper' => FALSE,
    'include_edges' => TRUE,
  ] + parent::defaultConfiguration();
}