interface BuildProcessorInterface in Facets 8
Same name in this branch
- 8 src/Processor/BuildProcessorInterface.php \Drupal\facets\Processor\BuildProcessorInterface
- 8 modules/facets_summary/src/Processor/BuildProcessorInterface.php \Drupal\facets_summary\Processor\BuildProcessorInterface
Processor runs before the renderable array is created.
Hierarchy
- interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Component\Plugin\DependentPluginInterface; interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\facets_summary\Processor\ProcessorInterface
- interface \Drupal\facets_summary\Processor\BuildProcessorInterface
- interface \Drupal\facets_summary\Processor\ProcessorInterface
Expanded class hierarchy of BuildProcessorInterface
All classes that implement BuildProcessorInterface
6 files declare their use of BuildProcessorInterface
- DefaultFacetsSummaryManager.php in modules/
facets_summary/ src/ FacetsSummaryManager/ DefaultFacetsSummaryManager.php - HideWhenNotRenderedProcessor.php in modules/
facets_summary/ src/ Plugin/ facets_summary/ processor/ HideWhenNotRenderedProcessor.php - ResetFacetsProcessor.php in modules/
facets_summary/ src/ Plugin/ facets_summary/ processor/ ResetFacetsProcessor.php - ShowCountProcessor.php in modules/
facets_summary/ src/ Plugin/ facets_summary/ processor/ ShowCountProcessor.php - ShowSummaryProcessor.php in modules/
facets_summary/ src/ Plugin/ facets_summary/ processor/ ShowSummaryProcessor.php
File
- modules/
facets_summary/ src/ Processor/ BuildProcessorInterface.php, line 10
Namespace
Drupal\facets_summary\ProcessorView source
interface BuildProcessorInterface extends ProcessorInterface {
/**
* Alter the items in the summary before creating the renderable array.
*
* @param \Drupal\facets_summary\FacetsSummaryInterface $facet
* The facet being changed.
* @param array $build
* The render array.
* @param \Drupal\facets\FacetInterface[] $facets
* The facets that are available.
*
* @return array
* The render array.
*/
public function build(FacetsSummaryInterface $facet, array $build, array $facets);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BuildProcessorInterface:: |
public | function | Alter the items in the summary before creating the renderable array. | |
ConfigurableInterface:: |
public | function | Gets default configuration for this plugin. | 11 |
ConfigurableInterface:: |
public | function | Gets this plugin's configuration. | 12 |
ConfigurableInterface:: |
public | function | Sets the configuration for this plugin instance. | 12 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 19 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |
ProcessorInterface:: |
public | function | Adds a configuration form for this processor. | |
ProcessorInterface:: |
public | function | Returns the default weight for a specific processing stage. | |
ProcessorInterface:: |
public | function | Retrieves the processor description. | |
ProcessorInterface:: |
public | function | Determines whether this processor should be hidden from the user. | |
ProcessorInterface:: |
public | function | Determines whether this processor should always be enabled. | |
ProcessorInterface:: |
constant | Processing stage: build. | ||
ProcessorInterface:: |
public | function | Submits a configuration form for this processor. | 1 |
ProcessorInterface:: |
public | function | Checks whether this processor implements a particular stage. | |
ProcessorInterface:: |
public | function | Validates a configuration form for this processor. |