Programmatically render a facet
If you want to programmatically render a facet block provided by the Facets module, for example to provide a variable in a preprocess function, it would look something like this:
If you want to programmatically render a facet block provided by the Facets module, for example to provide a variable in a preprocess function, it would look something like this: