public function QueryStringCreated::__construct in Facets 8
QueryStringCreated constructor.
Parameters
\Symfony\Component\HttpFoundation\ParameterBag $queryParameters: The get parameters to use.
array $filterParameters: The filter parameters to use.
\Drupal\facets\Result\ResultInterface $facetResult: The facet result.
array $activeFilters: The active filters.
\Drupal\facets\FacetInterface $facet: The facet.
File
- src/
Event/ QueryStringCreated.php, line 68
Class
- QueryStringCreated
- Implements the query string created event.
Namespace
Drupal\facets\EventCode
public function __construct(ParameterBag $queryParameters, array $filterParameters, ResultInterface $facetResult, array $activeFilters, FacetInterface $facet) {
$this->queryParameters = $queryParameters;
$this->filterParameters = $filterParameters;
$this->facetResult = $facetResult;
$this->activeFilters = $activeFilters;
$this->facet = $facet;
}