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()

Alter the items in the summary before creating the renderable array.

Parameters

\Drupal\facets_summary\FacetsSummaryInterface $facet: The facet being changed.

array $build: The render array.

\Drupal\facets\FacetInterface[] $facets: The facets that are available.

Return value

array The render array.

5 methods override BuildProcessorInterface::build()
HideWhenNotRenderedProcessor::build in modules/facets_summary/src/Plugin/facets_summary/processor/HideWhenNotRenderedProcessor.php
Alter the items in the summary before creating the renderable array.
ResetFacetsProcessor::build in modules/facets_summary/src/Plugin/facets_summary/processor/ResetFacetsProcessor.php
Alter the items in the summary before creating the renderable array.
ShowCountProcessor::build in modules/facets_summary/src/Plugin/facets_summary/processor/ShowCountProcessor.php
Alter the items in the summary before creating the renderable array.
ShowSummaryProcessor::build in modules/facets_summary/src/Plugin/facets_summary/processor/ShowSummaryProcessor.php
Alter the items in the summary before creating the renderable array.
ShowTextWhenEmptyProcessor::build in modules/facets_summary/src/Plugin/facets_summary/processor/ShowTextWhenEmptyProcessor.php
Alter the items in the summary before creating the renderable array.

File

modules/facets_summary/src/Processor/BuildProcessorInterface.php, line 25

Class

BuildProcessorInterface
Processor runs before the renderable array is created.

Namespace

Drupal\facets_summary\Processor

Code

public function build(FacetsSummaryInterface $facet, array $build, array $facets);