You are here

public function BuildProcessorInterface::build in Facets 8

Same name in this branch
  1. 8 src/Processor/BuildProcessorInterface.php \Drupal\facets\Processor\BuildProcessorInterface::build()
  2. 8 modules/facets_summary/src/Processor/BuildProcessorInterface.php \Drupal\facets_summary\Processor\BuildProcessorInterface::build()

Runs before the renderable array is created.

Parameters

\Drupal\facets\FacetInterface $facet: The facet being changed.

\Drupal\facets\Result\ResultInterface[] $results: The results being changed.

Return value

\Drupal\facets\Result\ResultInterface[] The changed results.

17 methods override BuildProcessorInterface::build()
BooleanItemProcessor::build in src/Plugin/facets/processor/BooleanItemProcessor.php
Runs before the renderable array is created.
CountLimitProcessor::build in src/Plugin/facets/processor/CountLimitProcessor.php
Runs before the renderable array is created.
DateItemProcessor::build in src/Plugin/facets/processor/DateItemProcessor.php
Runs before the renderable array is created.
DependentFacetProcessor::build in src/Plugin/facets/processor/DependentFacetProcessor.php
Runs before the renderable array is created.
ExcludeSpecifiedItemsProcessor::build in src/Plugin/facets/processor/ExcludeSpecifiedItemsProcessor.php
Runs before the renderable array is created.

... See full list

File

src/Processor/BuildProcessorInterface.php, line 23

Class

BuildProcessorInterface
Processor runs before the renderable array is created.

Namespace

Drupal\facets\Processor

Code

public function build(FacetInterface $facet, array $results);