PreQueryProcessorInterface.php in Facets 8
Namespace
Drupal\facets\ProcessorFile
src/Processor/PreQueryProcessorInterface.phpView source
<?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);
}
Interfaces
Name![]() |
Description |
---|---|
PreQueryProcessorInterface | Processor runs before the query is executed. |