1 redirect.api.php hook_redirect_insert($redirect)

Respond to creation of a new redirect.

This hook is invoked from redirect_save() after the redirect is inserted into the redirect table in the database.

Parameters

$redirect: The redirect that is being created.

See also

redirect_save()

Related topics

File

core/modules/redirect/redirect.api.php, line 228
Hooks provided by the Redirect module.

Code

function hook_redirect_insert($redirect) {

}