- Issue created by @trackleft2
- Merge request !56Issue #3541040: Add ViewsReferenceSetting plugins for Bootstrap Grid and Cards styles β (Open) created by trackleft2
- First commit to issue fork.
When embedding a View via the Views Reference field (commonly on a Paragraph type), site builders cannot adjust views_bootstrap
grid-related options (e.g., columns per breakpoint, gutter/row behavior) per instance. Today this forces duplication of Views displays just to vary grid settings by context, increasing maintenance overhead and limiting flexibility.
It would be useful if views_bootstrap
exposed a ViewsReferenceSetting
plugin so editors can override grid settings per referenced View instance, similar to how other modules integrate with Views Reference. Reference implementation pattern: viewsreference/src/Plugin/ViewsReferenceSetting.
md
).views_bootstrap
to expose grid-related options on the Views Reference widget/form, enabling per-entity overrides.Plugin/ViewsReferenceSetting/BootstrapGrid.php
(or per-style variants) that reads/writes the style options and applies them via the Views Reference settings alter hook.ViewsReferenceSetting
plugin(s) with form elements and value mapping to the style plugin options.views_bootstrap
grid style).ViewsReferenceSetting
plugin class(es) provided by views_bootstrap
; no breaking changes to existing APIs.ViewsReferenceSetting
plugins is handled by the viewsreference
module.Active
5.5
Grid