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\Processor\ProcessorInterface
- interface \Drupal\facets\Processor\BuildProcessorInterface
- interface \Drupal\facets\Processor\ProcessorInterface
Expanded class hierarchy of BuildProcessorInterface
All classes that implement BuildProcessorInterface
18 files declare their use of BuildProcessorInterface
- BooleanItemProcessor.php in src/
Plugin/ facets/ processor/ BooleanItemProcessor.php - CountLimitProcessor.php in src/
Plugin/ facets/ processor/ CountLimitProcessor.php - DateItemProcessor.php in src/
Plugin/ facets/ processor/ DateItemProcessor.php - DefaultFacetManager.php in src/
FacetManager/ DefaultFacetManager.php - DependentFacetProcessor.php in src/
Plugin/ facets/ processor/ DependentFacetProcessor.php
File
- src/
Processor/ BuildProcessorInterface.php, line 10
Namespace
Drupal\facets\ProcessorView source
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);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BuildProcessorInterface:: |
public | function | Runs before the renderable array is created. | 22 |
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. | 2 |
ProcessorInterface:: |
public | function | Returns the default weight for a specific processing stage. | 2 |
ProcessorInterface:: |
public | function | Retrieves the processor description. | 2 |
ProcessorInterface:: |
public | function | Picks the preferred query type for this widget. | 1 |
ProcessorInterface:: |
public | function | Determines whether this processor should be hidden from the user. | 2 |
ProcessorInterface:: |
public | function | Determines whether this processor should always be enabled. | 2 |
ProcessorInterface:: |
constant | Processing stage: build. | ||
ProcessorInterface:: |
constant | Processing stage: post_query. | ||
ProcessorInterface:: |
constant | Processing stage: pre_query. | ||
ProcessorInterface:: |
constant | Processing stage: sort. | ||
ProcessorInterface:: |
public | function | Checks if the facet is supported by this widget. | 1 |
ProcessorInterface:: |
public | function | Checks whether this processor implements a particular stage. | 2 |
ProcessorInterface:: |
public | function | Validates a configuration form for this processor. | 2 |