You are here

function tft_add_term_form_submit in Taxonomy File Tree 7.2

Same name and namespace in other branches
  1. 7 tft.admin.inc \tft_add_term_form_submit()

Submission callback: for tft_add_term_form().

File

includes/tft.pages.inc, line 175
Defines all page callbacks for TFT.

Code

function tft_add_term_form_submit($form, &$form_state) {
  tft_add_term($form_state['values']['name'], $form_state['values']['parent']);
}