You are here

function hook_redirect_presave in Redirect 7

Same name and namespace in other branches
  1. 7.2 redirect.api.php \hook_redirect_presave()

Act on a redirect being inserted or updated.

This hook is invoked from redirect_save() before the redirect is saved to the database.

Parameters

$redirect: The redirect that is being inserted or updated.

See also

redirect_save()

Related topics

1 invocation of hook_redirect_presave()
redirect_save in ./redirect.module
Save an URL redirect.

File

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

Code

function hook_redirect_presave($redirect) {
}