Problem/Motivation

When using the core Navigation module, the menu item "Manage site settings" is not reachable.
Because it has a child menu item, it is considered a grouping menu item, and is not clickable.
To reach it, you would need to click the "Manage Site Settings Group" link first, then through the breadcrumb go to its parent.

See screenshot:
Navigation module issue

Steps to reproduce

Install core Navigation menu, and try to go to "Manage site settings"

Proposed resolution

Use a generic grouping parent item that uses `'\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'` and add 2 child items under it, one for managing site setting entities, and the other for managing site setting entity groups.
Both will then be reachable via the Navigation module.

Remaining tasks

Create a MR

User interface changes

The "Structure > Manage site settings" breadcrumb will become "Structure > Manage site settings > Site settings" or similar.

API changes

/

Data model changes

/

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

Issue summary: View changes
scott_euser’s picture

Thanks for looking into this. Tbh I think this is just a symptom of the wider problem https://www.drupal.org/project/drupal/issues/3480321

It's been designed already as part of the navigation efforts just hasn't been committed yet. It'll be a lot more work to try to fix this in every contrib module where it's an issue rather than just fixing the source of the problem.

svendecabooter’s picture

Output for Admin > Structure page:
Structure menu

Output for Admin > Structure > Site settings page:

Structure menu

Output with Admin Toolbar contrib module:
Admin toolbar screenshot

Output with core Navigation module:

Navigation menu

svendecabooter’s picture

@scott_euser: ah thanks for the link to the core issue. It would indeed be better if this could be fixed in core itself.

I didn't notice your reply until I started working on an MR.

But I guess the grouping of multiple Site Settings routes under /admin/structure/site-settings could also be useful for sites that do not use Navigation module, as per my screenshots above? Or is that not desired?

scott_euser’s picture

Yeah sounds good, I'll give it a play and happy to get it in

svendecabooter’s picture

Status: Active » Needs review

scott_euser’s picture

Looks great thanks!

svendecabooter’s picture

Status: Needs review » Fixed

Thanks for committing!
Marking as fixed accordingly

Status: Fixed » Closed (fixed)

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