You are here

public function ActiveWidgetOrderProcessor::defaultConfiguration in Facets 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides SortProcessorPluginBase::defaultConfiguration

File

src/Plugin/facets/processor/ActiveWidgetOrderProcessor.php, line 37

Class

ActiveWidgetOrderProcessor
A processor that orders the results by active state.

Namespace

Drupal\facets\Plugin\facets\processor

Code

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