You are here

public function DefaultFacetsSummaryManager::__construct in Facets 8

Constructs a new instance of the DefaultFacetManager.

Parameters

\Drupal\facets\FacetSource\FacetSourcePluginManager $facet_source_manager: The facet source plugin manager.

\Drupal\facets_summary\Processor\ProcessorPluginManager $processor_plugin_manager: The facets summary processor plugin manager.

\Drupal\facets\FacetManager\DefaultFacetManager $facet_manager: The facet manager service.

File

modules/facets_summary/src/FacetsSummaryManager/DefaultFacetsSummaryManager.php, line 58

Class

DefaultFacetsSummaryManager
The facet summary manager.

Namespace

Drupal\facets_summary\FacetsSummaryManager

Code

public function __construct(FacetSourcePluginManager $facet_source_manager, ProcessorPluginManager $processor_plugin_manager, DefaultFacetManager $facet_manager) {
  $this->facetSourcePluginManager = $facet_source_manager;
  $this->processorPluginManager = $processor_plugin_manager;
  $this->facetManager = $facet_manager;
}