function tft_edit_term_form_submit in Taxonomy File Tree 7.2
Same name and namespace in other branches
- 7 tft.admin.inc \tft_edit_term_form_submit()
Submission callback: for tft_edit_term_form()
File
- includes/
tft.pages.inc, line 262 - Defines all page callbacks for TFT.
Code
function tft_edit_term_form_submit($form, &$form_state) {
tft_update_term($form_state['values']['tid'], $form_state['values']['name']);
drupal_set_message(t("The folder '@name' was updated.", array(
'@name' => $form_state['values']['name'],
)));
}