facets-8.x-1.x-dev/src/Processor/PreQueryProcessorInterface.php
src/Processor/PreQueryProcessorInterface.php
<?php
namespace Drupal\facets\Processor;
use Drupal\facets\FacetInterface;
/**
* Processor runs before the query is executed.
*/
interface PreQueryProcessorInterface extends ProcessorInterface {
/**
* Runs before the query is executed.
*
* Uses the queryType and the facetSource implementation to make sure the
* alteration to the query was added before the query is executed in the
* backend?
*
* @param \Drupal\facets\FacetInterface $facet
* The facet being changed.
*/
public function preQuery(FacetInterface $facet);
}
