function redirect_path_insert in Redirect 7
Same name and namespace in other branches
- 7.2 redirect.module \redirect_path_insert()
Implements hook_path_insert().
File
- ./
redirect.module, line 410
Code
function redirect_path_insert(array $path) {
if (!empty($path['alias'])) {
// Disable all redirects having the same source as this alias.
redirect_disable_by_path($path['alias'], $path['language']);
}
}