Problem/Motivation
In #3311365: Use PHP attributes for route discovery, Drupal core introduced a PHP attribute to find out the controllers associated to routes; as follow-up, #3584793: Use PHP attributes for form route discovery has been created.
Proposed resolution
Once #3584793: Use PHP attributes for form route discovery is fixed, use the new attributes to define the form associated to each route.
Comments
Comment #2
avpaderno