Try to support menu_item_extras and mega menus

Created on 12 September 2023, over 1 year ago
Updated 25 September 2023, over 1 year ago

Problem/Motivation

Testing mega menu implementation. menu_item_extras is using item.content render array for menu twig. It seems if we support rendering of item.content in menu--navbar template we can also support extra menu content that is coming from menu_item_extras module.

For this to work you also need to override template in custom theme, for example you define templates/navigation/menu--extras--main--navbar.html.twig and in it put:

{% extends "@bs_bootstrap/navigation/menu--navbar.html.twig" %}
Feature request
Status

Fixed

Version

1.0

Component

BS Bootstrap

Created by

🇷🇸Serbia pivica

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

Comments & Activities

Production build 0.71.5 2024