Add ability to track active menu items in menu source

Created on 24 February 2025, 12 days ago

Problem/Motivation

Navigation components in Design systems often display differently active links (which link is same as current page). Example: menu, bottom navigation, ...

With menu source it's not possible, as in core block menu (boolean in_active_trail property), to differenciate active menu links.

Proposed resolution

Add a new information to store that information in getMenuItems() (MenuSource.php).

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇫🇷France G4MBINI Bègles

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

Comments & Activities

Production build 0.71.5 2024