How to get route name YAML Block/Form?
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, &amp; 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.