function active_tags_popular_form_vocabulary_submit in Active Tags 6
Same name and namespace in other branches
- 6.2 active_tags_popular.module \active_tags_popular_form_vocabulary_submit()
Saves settings from taxonomy vocabulary form.
1 string reference to 'active_tags_popular_form_vocabulary_submit'
- active_tags_popular_form_alter in ./
active_tags_popular.module - Implementation of hook_form_alter().
File
- ./
active_tags_popular.module, line 114 - Adds popular terms to Active Tags widget
Code
function active_tags_popular_form_vocabulary_submit($form, &$form_state) {
variable_set('active_tags_popular_' . $form_state['values']['vid'], $form_state['values']['active_tags_popular']);
variable_set('active_tags_popular_no_' . $form_state['values']['vid'], $form_state['values']['active_tags_popular_no']);
return TRUE;
}