Set active classes in menu block title [regression]

Created on 28 April 2021, almost 4 years ago
Updated 20 May 2024, 11 months ago

Problem/Motivation

The menu block titles don't have a class showing the active trail. The 7.x version did this in menu_block_get_title(). I've marked this as a bug because it's a regression from 7.x.

This also includes the fix from #3190225: Set active class in block title when returning a link β†’ which is related as it sets the is-active class on the title, that issue was wrongly closed (it wasn't committed as the ticket says, my fault), and those changes would conflict with these changes.

Proposed resolution

Add the class in getLinkTitleFromLink().

API changes

None

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States douggreen Winchester, VA

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024