You are here

public function SortProcessorPluginBase::defaultConfiguration in Facets 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ProcessorPluginBase::defaultConfiguration

2 methods override SortProcessorPluginBase::defaultConfiguration()
ActiveWidgetOrderProcessor::defaultConfiguration in src/Plugin/facets/processor/ActiveWidgetOrderProcessor.php
Gets default configuration for this plugin.
CountWidgetOrderProcessor::defaultConfiguration in src/Plugin/facets/processor/CountWidgetOrderProcessor.php
Gets default configuration for this plugin.

File

src/Processor/SortProcessorPluginBase.php, line 36

Class

SortProcessorPluginBase
A base class for plugins that implements some boilerplate for a widget order.

Namespace

Drupal\facets\Processor

Code

public function defaultConfiguration() {
  return [
    'sort' => 'ASC',
  ];
}