You are here

public static function DisplayValueWidgetOrderProcessor::create in Facets 8

Creates an instance of the plugin.

Overrides ContainerFactoryPluginInterface::create

File

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

Class

DisplayValueWidgetOrderProcessor
A processor that orders the results by display value.

Namespace

Drupal\facets\Plugin\facets\processor

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition, $container
    ->get('transliteration'));
}