You are here

function path_redirect_delete_form in Path redirect 6

1 string reference to 'path_redirect_delete_form'
path_redirect_menu in ./path_redirect.module
Implements hook_menu().

File

./path_redirect.admin.inc, line 472
Administrative page callbacks for the path_redirect module.

Code

function path_redirect_delete_form($form_state, $redirect) {
  $form['redirect'] = array(
    '#type' => 'value',
    '#value' => $redirect,
  );
  return confirm_form($form, t('Are you sure you want to delete the redirect from %source to %redirect?', array(
    '%source' => $redirect['source'],
    '%redirect' => $redirect['redirect'],
  )), isset($_REQUEST['destination']) ? $_REQUEST['destination'] : 'admin/build/path-redirect');
}