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

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.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | after.png | 14.07 KB | scott_euser |
| Screenshot from 2025-07-23 16-01-53.png | 31.25 KB | svendecabooter |
Issue fork site_settings-3537635
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
Comment #3
svendecabooterComment #6
scott_euser commentedThank you!
Comment #7
scott_euser commentedAfter: