thrownewInvalidProcessorException(newFormattableMarkup("The processor @processor has a pre_query definition but doesn't implement the required PreQueryProcessorInterface interface",['@processor'=>$processor_configuration['processor_id']]));
thrownewInvalidProcessorException(newFormattableMarkup("The processor @processor has a pre_query definition but doesn't implement the required PreQueryProcessorInterface interface",['@processor'=>$processor_configuration['processor_id']]));
}
$pre_query_processor->preQuery($facet);
}
}
}
}
/**
* Build a facet and returns it's render array.
* Builds a facet and returns it as a renderable array.
*
* This method delegates to the relevant plugins to render a facet, it calls
* out to a widget plugin to do the actual rendering when results are found.
thrownewInvalidProcessorException(newFormattableMarkup("The processor @processor has a build definition but doesn't implement the required BuildProcessorInterface interface",['@processor'=>$processor['processor_id']]));
thrownewInvalidProcessorException(newFormattableMarkup("The processor @processor has a build definition but doesn't implement the required BuildProcessorInterface interface",['@processor'=>$processor['processor_id']]));
$message=$this->t('Facet %name has been created. Go to the <a href=":block_overview">Block overview page</a> and add a new "Facet block". If this is your first and only facet, just adding that block make it link to this facet, if you have addded more facets already, please make sure to select the correct Facet to render.',['%name'=>$facet->getName(),':block_overview'=>\Drupal::urlGenerator()->generateFromRoute('block.admin_display')]);
$message=$this->t('Facet %name has been created. Go to the <a href=":block_overview">Block overview page</a> to place the new block in the desired region.',['%name'=>$facet->getName(),':block_overview'=>\Drupal::urlGenerator()->generateFromRoute('block.admin_display')]);