1 redirect.api.php | hook_redirect_presave($redirect) |
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
Related topics
File
- core/
modules/ redirect/ redirect.api.php, line 212 - Hooks provided by the Redirect module.
Code
function hook_redirect_presave($redirect) {
}