Figure out how to handle generating dynamic routes

Created on 13 November 2023, 8 months ago

Problem/Motivation

Follow up of https://www.drupal.org/project/drupal/issues/3311365 πŸ“Œ Use PHP attributes for route discovery Needs review
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

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
RoutingΒ  β†’

Last updated about 7 hours ago

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @duadua
  • πŸ‡¬πŸ‡§United Kingdom longwave UK

    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.

Production build 0.69.0 2024