Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Route name is useful to know in outbound route processing.
dawehner would like this for #2345753: Remove url(current_path()) and url(NULL) with <current> and <none>.
Proposed resolution
Add the route name!
Remaining tasks
User interface changes
API changes
Additional $route_name parameter added to OutboundRouteProcessorInterface
Comment | File | Size | Author |
---|---|---|---|
#7 | interdiff-2346283-7.txt | 1.8 KB | damiankloip |
#7 | 2346283-7.patch | 8.25 KB | damiankloip |
Comments
Comment #2
damiankloip CreditAttribution: damiankloip commentedMeh.
Comment #3
dawehnerMEH, don't we want to have route_name first?
Comment #4
damiankloip CreditAttribution: damiankloip commentedComment #5
damiankloip CreditAttribution: damiankloip commentedSure, I don't mind either way.
Comment #6
dawehnerCan we change this order as well?
Comment #7
damiankloip CreditAttribution: damiankloip commentedHere we go.
Comment #8
dawehnerThank you man.
Comment #9
catchCommitted/pushed to 8.0.x, thanks!
https://www.drupal.org/node/2238759 looks like the right change notice to update, but already very out of date.
Comment #10
andypostClosed duplicate