Generate an internal URL in twig
To generate an internal url in Twig you can follow these steps:


Install the module Devel.
Go to Routes Info (/devel/routes) and search in the browser for the path :





Add the route name and the route parameter to url():


&lt;a href="{{ url('entity.menu.edit_form', {'menu': 'fixed-sidebar-menu'}) }}"&gt;Edit Menu&lt;/a&gt;