You are here

public function DisplayValueWidgetOrderProcessor::__construct in Facets 8

Constructs a DisplayValueWidgetOrderProcessor object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\Component\Transliteration\TransliterationInterface $transliteration: The transliteration service.

Overrides PluginBase::__construct

File

src/Plugin/facets/processor/DisplayValueWidgetOrderProcessor.php, line 46

Class

DisplayValueWidgetOrderProcessor
A processor that orders the results by display value.

Namespace

Drupal\facets\Plugin\facets\processor

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, TransliterationInterface $transliteration) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->transliteration = $transliteration;
}