Needs review
Project:
Flag
Version:
5.1.x-dev
Component:
Flag core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2026 at 14:09 UTC
Updated:
28 Sep 2026 at 14:45 UTC
Jump to comment: Most recent
Regression since 5.1.0 (5.0.x is not affected): flag links lose the view mode that #3049155: Disclose flagging view mode in flag theming passes to them, for the flag URLs and the view mode theme suggestions. Two changes cause it:
Sites that added a flag--default.html.twig template since 5.1.0 to target links displayed as a field must rename it to the actual view mode.
Review.
None.
None.
None.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
herved commented