API migration: No hook_redirect_alter() in 8.x

Created on 15 September 2017, almost 8 years ago
Updated 1 June 2025, 3 months ago

The `redirect.api.php` file appears to be a mashup between D7 and D8. I found myself going down a few paths trying to figure out why the documented `hook_redirect_alter()` hook was not working for me.
It seems logical to me that a developer should be able to interact with the redirect in another module before the redirect takes place.

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dpagini

Live updates comments and jobs are added and updated live.
  • API addition

    Enhances an existing API or introduces a new subsystem. Depending on the size and impact, possibly backportable to earlier major versions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024