BuildProcessorInterface.php in Facets 8
Same filename in this branch
Namespace
Drupal\facets\ProcessorFile
src/Processor/BuildProcessorInterface.phpView source
<?php
namespace Drupal\facets\Processor;
use Drupal\facets\FacetInterface;
/**
* Processor runs before the renderable array is created.
*/
interface BuildProcessorInterface extends ProcessorInterface {
/**
* Runs before the renderable array is created.
*
* @param \Drupal\facets\FacetInterface $facet
* The facet being changed.
* @param \Drupal\facets\Result\ResultInterface[] $results
* The results being changed.
*
* @return \Drupal\facets\Result\ResultInterface[]
* The changed results.
*/
public function build(FacetInterface $facet, array $results);
}
Interfaces
Name | Description |
---|---|
BuildProcessorInterface | Processor runs before the renderable array is created. |