Configurable filter-block instance ID with theming suggestions

Created on 2 June 2025, about 1 month ago

Problem/Motivation

The module allows placing configurable filters in multiple block regions, however from theming perspective they are all identical and it is difficult to style them individually and impossible to override twig template without affecting all instances.

Proposed resolution

Introduce a configurable filter instance ID that is reflected in theme suggestions, which developers can use for theming / overrides.
The ID should be independent of form ID

The issue is related to, and ispired by
https://www.drupal.org/project/configurable_views_filter_block/issues/33... 📌 Stop using the build id for the block id Needs work
- where author suggests form ID overrides, but it looks like it had side-effects.

The proposed resolution takes another approach, leaving the form ID intact.

Feature request
Status

Downport

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom masterperoo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024