public function FacetsSummaryInterface::getProcessorsByStage in Facets 8
Loads this facets processors for a specific stage.
Parameters
string $stage: The stage for which to return the processors. One of the \Drupal\facets_summary\Processor\ProcessorInterface::STAGE_* constants.
bool $only_enabled: (optional) If FALSE, also include disabled processors. Otherwise, only load enabled ones.
Return value
\Drupal\facets_summary\Processor\ProcessorInterface[] An array of all enabled (or available, if if $only_enabled is FALSE) processors that support the given stage, ordered by the weight for that stage.
1 method overrides FacetsSummaryInterface::getProcessorsByStage()
- FacetsSummary::getProcessorsByStage in modules/
facets_summary/ src/ Entity/ FacetsSummary.php - Loads this facets processors for a specific stage.
File
- modules/
facets_summary/ src/ FacetsSummaryInterface.php, line 113
Class
- FacetsSummaryInterface
- Interface for the entity.
Namespace
Drupal\facets_summaryCode
public function getProcessorsByStage($stage, $only_enabled = TRUE);