Set active classes in menu block title [regression]
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3211149. --> Reported by: [douggreen](https://www.drupal.org/user/29191) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>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.</p> <p>This also includes the fix from <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/menu_block/-/work_items/3190225" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/menu_block/-/work_items/3190225</a></span> 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.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Add the class in getLinkTitleFromLink().</p> <h3 id="summary-api-changes">API changes</h3> <p>None</p> > Related issue: [Issue #3318811](https://www.drupal.org/node/3318811)
issue