Add ability to track active menu items in menu source

Created on 24 February 2025, about 2 months 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

Merge Requests

Comments & Activities

Production build 0.71.5 2024