You are here

function path_admin_delete_confirm_submit in Drupal 6

Same name and namespace in other branches
  1. 4 modules/path.module \path_admin_delete_confirm_submit()
  2. 5 modules/path/path.module \path_admin_delete_confirm_submit()
  3. 7 modules/path/path.admin.inc \path_admin_delete_confirm_submit()

Execute URL alias deletion

File

modules/path/path.admin.inc, line 175
Administrative page callbacks for the path module.

Code

function path_admin_delete_confirm_submit($form, &$form_state) {
  if ($form_state['values']['confirm']) {
    path_admin_delete($form_state['values']['pid']);
    $form_state['redirect'] = 'admin/build/path';
    return;
  }
}