Add route name to outbound path processing

Created on 5 August 2025, 3 days ago

Problem/Motivation

We add the route object to the options array for outbound path processing but it would be helpful to add the route name to. It would allow outbound processors to target routed url paths by route name.

Steps to reproduce

Implement an outbound path processor like https://www.drupal.org/project/consumer_base_url β†’

Proposed resolution

Add route_name to options along side the route object.

Remaining tasks

User interface changes

None

Introduced terminology

N/a

API changes

New array key route_name in $options passed into outbound url processing.

Data model changes

None

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

routing system

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

Live updates comments and jobs are added and updated live.
  • Contributed project blocker

    It denotes an issue that prevents porting of a contributed project to the stable version of Drupal due to missing APIs, regressions, and so on.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024