You are here

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

Class

CountWidgetOrderProcessor
A processor that orders the results by amount.

Namespace

Drupal\facets\Plugin\facets\processor

Code

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