feat: #2879648 Add RedirectPathProcessorManager to fix redirects from aliased paths on Drupal 11.4

This MR implements a RedirectPathProcessorManager for #2879648 (redirects from aliased paths aren't triggered), updated for Drupal 11.4 compatibility.

Problem/Motivation

PathProcessorManager::addInbound() — which the module previously relied on to resolve inbound aliased paths for redirect lookups — was removed in Drupal 11.4. Without a replacement, redirects targeting an aliased path stop firing on 11.4.

What this MR does

Introduces a dedicated RedirectPathProcessorManager / RedirectPathProcessorManagerInterface, wired through redirect.services.yml, so the module no longer depends on the removed core API. 11 files changed (+335/-39).

  • Supersedes #3607821 (closed by the maintainer as cannot-reproduce — the RedirectPathProcessorManager class it referenced originates in this issue, #2879648, not in a released version). This MR carries the up-to-date, 11.4-ready version of the change so the fix lives in a single issue.
  • Counterpart to !109 on this same issue: !109 targets all supported core versions; this MR (!202) is intentionally the Drupal ~11.4.0-specific variant, needed because 11.4 removed addInbound().

AI-generated contribution disclosure

Per the Drupal AI-generated contribution policy:

AI-Generated: Yes (Used Claude Code to draft the RedirectPathProcessorManager / RedirectPathProcessorManagerInterface implementation and its redirect.services.yml wiring; reviewed by RajabNatshah before submission.)

Checkpoints

  • File an issue about this project
  • Addition/Change/Update/Fix to this project
  • Testing to ensure no regression
  • Automated unit/functional testing coverage
  • Developer Documentation support on feature change/addition
  • User Guide Documentation support on feature change/addition
  • UX/UI designer responsibilities
  • Accessibility and Readability
  • Reviewed by a human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Update Release Notes
  • Release
Edited by Rajab Natshah

Merge request reports

Loading
Loading