function taxonomy_manager_form_delete_submit in Taxonomy Manager 7
Same name and namespace in other branches
- 6.2 taxonomy_manager.admin.inc \taxonomy_manager_form_delete_submit()
- 6 taxonomy_manager.admin.inc \taxonomy_manager_form_delete_submit()
Submit handler for deleting terms
1 string reference to 'taxonomy_manager_form_delete_submit'
- taxonomy_manager_confirm_delete in ./
taxonomy_manager.admin.inc - confirmation form for deleting selected terms
File
- ./
taxonomy_manager.admin.inc, line 1420
Code
function taxonomy_manager_form_delete_submit($form, &$form_state) {
$selected_tids = array();
$selected_tids = $form_state['values']['taxonomy']['manager']['tree']['selected_terms'];
if ($form_state['values']['delete'] === TRUE) {
return taxonomy_manager_term_confirm_delete_submit($form, $form_state);
}
// Rebuild the form to confirm term deletion.
$form_state['rebuild'] = TRUE;
$form_state['confirm_delete'] = TRUE;
}