I need to set a body class if a facet filter is active.
It should be done in yourtheme_preprocess_html
if Facet is active then $variables['attributes']['class'][] = 'facet-active';
for fulltext search terms it works like that
$variables['attributes']['class'][] = 'search-' . Drupal::request()->query->get('search_api_fulltext');
Anyone know how to dig out the information if a facet is active or not.
thanks in advance
Matthias