I am not a coder, how can I get a route name from YAML Form (ex.Contact form) and put it to YAML Block? Is there a route name UI like path auto UI? thank you

1 Answer 1


Drupal routes aren't display in a UI anywhere, but you can look them up in a database client (e.g. PHPMyAdmin). The route defnitions are stored in the router table. The name, path, & pattern_outline columns should be enough to search for what you're looking for. The name column contains the unique ID for each route. In your case, contact.site_page is the name of the contact form route.

  • Thank you Shown, what is different using route name instead path url?
    – Bengsan
    Aug 31, 2016 at 3:25
  • I'm not sure I understand the question, but the YAML block uses the route name. It's a unique identifier for route which can be accessed through the Drupal API.
    – Shawn Conn
    Aug 31, 2016 at 3:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.