function redirect_delete_form in Redirect 7
Same name and namespace in other branches
- 7.2 redirect.admin.inc \redirect_delete_form()
Form builder to delete an URL redirect.
See also
1 string reference to 'redirect_delete_form'
- redirect_menu in ./
redirect.module - Implements hook_menu().
File
- ./
redirect.admin.inc, line 615 - Administrative page callbacks for the redirect module.
Code
function redirect_delete_form($form, &$form_state, $redirect) {
$form['rid'] = array(
'#type' => 'value',
'#value' => $redirect->rid,
);
return confirm_form($form, t('Are you sure you want to delete the URL redirect from %source to %redirect?', array(
'%source' => $redirect->source,
'%redirect' => $redirect->redirect,
)), 'admin/config/search/redirect');
}