function path_admin_delete_confirm_submit

Same name and namespace in other branches
  1. 6.x drupal-6.x/modules/path/path.admin.inc \path_admin_delete_confirm_submit()

Form submission handler for path_admin_delete_confirm().

Archivo

drupal-7.x/modules/path/path.admin.inc, line 255
Administrative page callbacks for the path module.

Código

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