Skip to main content
1 of 3
4uk4
  • 101.7k
  • 7
  • 173
  • 217

I think changing from url to route_name is the solution, you normally use url only for external links.

You don't find entity routes in static yml files because they are created dynamically. You could use the Devel module and visit

/devel/routes

or from the command line with Drupal Console:

debug:router

See https://drupalconsole.com/docs/en/commands/debug-router

4uk4
  • 101.7k
  • 7
  • 173
  • 217