You are here

public function RouteSubscriber::__construct in Facets Pretty Paths 8

Constructs a RouteSubscriber object.

Parameters

Drupal\facets\FacetSource\FacetSourcePluginManager $facetSourcePluginManager: The plugin.manager.facets.facet_source service.

File

src/RouteSubscriber.php, line 28

Class

RouteSubscriber
Alter facet source routes, adding a parameter.

Namespace

Drupal\facets_pretty_paths

Code

public function __construct(FacetSourcePluginManager $facetSourcePluginManager) {
  $this->facetSourcePluginManager = $facetSourcePluginManager;
}