Block menu field configuration like Viewmode get lost when a different than the default template is used

Created on 27 February 2025, about 1 month ago

Problem/Motivation

When a different template than `menu--field-content.html.twig` like a more menu name specific kind like `menu--field-content--menu-name.html.twig` is used, the block configuration like the used viewmode is lost.

Steps to reproduce

  • Create an specific template based on the `menu--field-content.html.twig` using the name of the menu like `menu--field-content--menu-name.html.twig`
  • Check the menu items use always the _default_ viewmode even the block menu item is set as otherwise.
🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇪🇸Spain pakmanlh Barcelona

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024