Use Icon API for Navigation module integration

Created on 23 July 2025, 6 days ago

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 📌 Add Site settings menu to Navigation module content block Active 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.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇧🇪Belgium svendecabooter Gent

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

Comments & Activities

Production build 0.71.5 2024