1 path.admin.inc path_admin_delete_confirm_submit($form, &$form_state)

Form submission handler for path_admin_delete_confirm().

File

core/modules/path/path.admin.inc, line 281
Admin page callbacks for the Path module.

Code

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/urls/path';
  }
}