You are here

function hook_redirect_insert in Redirect 7

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

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

1 function implements hook_redirect_insert()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

redirect_redirect_insert in ./redirect.module
Implements hook_redirect_insert().
1 invocation of hook_redirect_insert()
redirect_save in ./redirect.module
Save an URL redirect.

File

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

Code

function hook_redirect_insert($redirect) {
}