Project:Path redirect
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Dave Reid
Status:closed (won't fix)

Issue Summary

We should add a few hooks into the module to allow people to alter and react to redirections. I'm thinking about:

path_redirect_alter($redirect) -> alter a redirect before saving to the database
path_redirect_redirect($redirect) -> invoked right before performing redirection action

Comments

#1

Suppose you mean hook_path_redirect_presave & hook_path_redirect_redirect - looks like over- engineering

Maybe better leave drupal_alter's way just after load?

#2

Status:active» closed (won't fix)

Being addressed in the redirect.module.

nobody click here