You are here

function active_tags_popular_form_vocabulary_submit in Active Tags 6.2

Same name and namespace in other branches
  1. 6 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 116
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;
}