You are here

function hook_redirect_alter in Redirect 7.2

Same name and namespace in other branches
  1. 8 redirect.api.php \hook_redirect_alter()
  2. 7 redirect.api.php \hook_redirect_alter()

Act on a redirect being redirected.

This hook is invoked from redirect_redirect() before the redirect callback is invoked.

Parameters

$redirect: The redirect that is being used for the redirect.

See also

redirect_redirect()

drupal_page_is_cacheable()

Related topics

1 invocation of hook_redirect_alter()
redirect_redirect in ./redirect.module
Perform an URL redirect.

File

./redirect.api.php, line 290
Hooks provided by the Redirect module.

Code

function hook_redirect_alter($redirect) {
}