function _spaces_taxonomy_form_delete in Spaces 6.2
Same name and namespace in other branches
- 6 spaces_taxonomy/spaces_taxonomy.module \_spaces_taxonomy_form_delete()
Submit handler for deletion of a space term.
1 string reference to '_spaces_taxonomy_form_delete'
- spaces_taxonomy_form_alter in spaces_taxonomy/
spaces_taxonomy.module
File
- spaces_taxonomy/
spaces_taxonomy.module, line 280
Code
function _spaces_taxonomy_form_delete($form, &$form_state) {
$tid = $form_state['values']['tid'];
if ($tid) {
$space = spaces_load('taxonomy', $tid);
spaces_delete($space);
}
}