Problem/Motivation

Since Drupal 11.2.x, the (experimental) Navigation module no longer shows and icon in the Navigation sidebar:

Navigation bar without icon

This seems caused by the fact that the navigation sidebar icons are added via the new Icon API now.
In #3507687: Add Site settings menu to Navigation module content block we opted to add a default icon (same as for Configuration), and added it via CSS.
This approach seems to no longer work in 11.2.x.

Steps to reproduce

- Install Drupal 11.2.x
- Enable Site Settings module
- Enable Navigation module
- Check icon in the sidebar

Proposed resolution

- Use new Icon API to set the same icon as previously.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

svendecabooter created an issue. See original summary.

svendecabooter’s picture

Status: Active » Needs review

scott_euser made their first commit to this issue’s fork.

scott_euser’s picture

Status: Needs review » Fixed

Thank you!

scott_euser’s picture

StatusFileSize
new14.07 KB

After:

Screenshot with new icon

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.