You are here

function path_admin_delete_confirm_submit in Drupal 4

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

Execute URL alias deletion

File

modules/path.module, line 116
Enables users to rename URLs.

Code

function path_admin_delete_confirm_submit($form_id, $form_values) {
  if ($form_values['confirm']) {
    path_admin_delete($form_values['pid']);
    return 'admin/path';
  }
}