I have two modules which I am trying to make work in synch.

The first module creates a dynamic page and redirects users if certain conditions are met. The redirect URL takes to following form: testsite/event/registration/success/277/466.

When the redirect happens, I want my second module to detect the redirection and pickup from when the first module left off. I am trying to make it check and determine if the user is on: testsite/event/registration/success/*/*

Is this possible and can anyone give me some direction, please?

1 Answer 1


You may be able to use hook_drupal_goto_alter to achieve this. It'll get called during the processing of the redirection.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.