thrownewInvalidProcessorException("The processor {$processor->getPluginDefinition()['id']} has a pre_query definition but doesn't implement the required PreQueryProcessorInterface interface");
thrownewInvalidProcessorException("The processor {$processor->getPluginDefinition()['id']} has a pre_query definition but doesn't implement the required PreQueryProcessorInterface interface");
}
$pre_query_processor->preQuery($facet);
}
$this->preparedFacets=TRUE;
}
}
...
...
@@ -272,14 +246,14 @@ class DefaultFacetManager {
* Throws an exception when an invalid processor is linked to the facet.
*/
publicfunctionbuild(FacetInterface$facet){
// Immediately initialize the facets.
// Immediately initialize the facets if they are not initiated yet.
$this->initFacets();
// It might be that the facet received here, is not the same as the already
// loaded facets in the FacetManager.
// For that reason, get the facet from the already loaded facets in the