Problem/Motivation

We have menu items where the users can select "Expand" or not (Drupal Core behaviour).
When using these options entity submenu block printed out all "Expanded" menu items regardless of the current menu item and it's active trail.

For example:
Start
Questions
- Questions one
Services
- Service one
Here we place a entity submenu block.
This would even print: questions and questions one and start ....

Steps to reproduce

Make use of the "Expand" checkboxes on a menu item.

Proposed resolution

See attached patch.
Copied page of core code that is in "SystemMenuBlock.php"

Remaining tasks

Review

CommentFileSizeAuthor
#2 3225467_patch_expanded.patch1.21 KBmschudders

Comments

Mschudders created an issue. See original summary.

mschudders’s picture

StatusFileSize
new1.21 KB

  • aleksip committed 18e1d414 on 8.x-1.x authored by Mschudders
    Issue #3225467 by Mschudders: Expanded menu items makes entitysubmenu go...
aleksip’s picture

Status: Needs review » Fixed

@Mschudders committed, thanks!

aleksip’s picture

Status: Fixed » Closed (fixed)