Problem/Motivation

Follow up of https://www.drupal.org/project/drupal/issues/3311365
The issue linked above provides a better way to wire up routes in Drupal.
One feature lacking from it is the capability to dynamically generate routes. Examples of such use cases are:

  • Field UI
  • Views

Steps to reproduce

Proposed resolution

TODO: List alternatives
Discuss the suggested path forward and deprecate the previous way?

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

duadua created an issue. See original summary.

longwave’s picture

Title: Figure out how to handle generating dynamic » Figure out how to handle generating dynamic routes

Fix a missing word in the title. But I'm not sure what we need to do here? Attributes replace static route metadata; route providers and routing event subscribers can still provide dynamic routes.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.