function path_admin_delete_confirm_submit in Drupal 7
Same name and namespace in other branches
- 4 modules/path.module \path_admin_delete_confirm_submit()
- 5 modules/path/path.module \path_admin_delete_confirm_submit()
- 6 modules/path/path.admin.inc \path_admin_delete_confirm_submit()
Form submission handler for path_admin_delete_confirm().
File
- modules/
path/ path.admin.inc, line 259 - Administrative 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/search/path';
}
}