You are here

function taxonomy_container_settings_submit in Taxonomy container 6

Process vocabulary settings form submissions.

1 string reference to 'taxonomy_container_settings_submit'
taxonomy_container_form_taxonomy_form_vocabulary_alter in ./taxonomy_container.module
Alter vocabulary settings form.

File

./taxonomy_container.module, line 225
Allows users to organize containers using taxonomy terms.

Code

function taxonomy_container_settings_submit(&$form, $form_state) {
  $vid = $form['vid']['#value'];
  $vids = variable_get('taxonomy_container_vids', array());
  $vids[$vid] = $form_state['values']['taxonomy_container_' . $vid];
  variable_set('taxonomy_container_vids', $vids);
}