Closed (fixed)
Project:
Examples for Developers
Version:
5.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Apr 2026 at 21:19 UTC
Updated:
9 Jun 2026 at 20:15 UTC
Jump to comment: Most recent
Comments
Comment #2
avpadernoComment #5
oily commentedThe 'admin menu' in gitlab is similar in appearance to the Drupal admin menu in version 11.4 and newer. The links are in a sidebar on the left hand and the parent links have icons to the left. It seems good UX, therefore, to create a parent link for 'Examples'.
To generate the 'Examples' link in the left (navigation) sidebar I created a controller and examples.menu.links.yml and examples.routing.yml with a 'system' route. The path is 'admin/examples' as it is in version 4.0.x.
I am planning to adjust the paths in the *_example.routing.yml files to e.g. admin/examples/block-example. That settings pages for the submodules should be displayed when you hover over the 'Examples' link in the left hand sidebar. They should be available as children of the root menu tree object.
Comment #6
oily commentedComment #7
avpadernoI am postponing this issue to other issues which remove modules or change their machine name.
Comment #8
oily commentedThe examples link has been moved out of the navigation menu to the 'main' menu. The submodule links can be displayed as child links under the examples link. I have removed the /admin/ from the submodule paths.
The 'main' menu displays in other themes including 'Stark'. It displays at the top of Olivero theme pages whether or not the user is logged in.
Comment #9
avpadernoComment #10
avpadernoComment #12
avpadernoComment #13
avpadernoComment #15
avpadernoComment #18
avpaderno