I am trying to add an internal link to admin toolbar but I am not able to achieve it.
According to documentation we add an internal link in
*.links.menu.yml in the below manner but the link is not being appeared in the toolbar.
hello_world.admin2: title: 'Hello module settings' description: 'example of how to make an admin settings page link' parent: system.admin_config_development url: internal:/node/123
I tried the following variants as well but none works.
url: 'internal:/node/123' or
uri: internal:/node/123 or
uri: 'internal:/node/123' .
But the following works
url: http://localhost/node/123 .
Can anyone suggest me a way to create a menu link in
Use case : I want to provide easily accessible link to user to access one particular page. It is not a route. I am aware of other way to create menu link by using
MenuLinkContent::create method. But trying to figure out why above method is not working.