Posted by Dave Reid on November 4, 2009 at 12:21am
Jump to:
| 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
Being addressed in the redirect.module.