function taxonomy_unique_taxonomy_form_vocabulary_submit in Taxonomy unique 7
Same name and namespace in other branches
- 8.2 taxonomy_unique.module \taxonomy_unique_taxonomy_form_vocabulary_submit()
- 8 taxonomy_unique.module \taxonomy_unique_taxonomy_form_vocabulary_submit()
Form submission handler for taxonomy_form_vocabulary().
1 string reference to 'taxonomy_unique_taxonomy_form_vocabulary_submit'
File
- ./
taxonomy_unique.module, line 41 - Module file for the Taxonomy unique module.
Code
function taxonomy_unique_taxonomy_form_vocabulary_submit($form, &$form_state) {
// Save custom fields to variables.
variable_set('taxonomy_unique_' . $form_state['values']['machine_name'], $form_state['values']['unique']);
variable_set('taxonomy_unique_' . $form_state['values']['machine_name'] . '_message', $form_state['values']['unique_message']);
}