function hierarchical_select_taxonomy_form_vocabulary_submit in Hierarchical Select 5
Same name and namespace in other branches
- 5.3 modules/hs_taxonomy.module \hierarchical_select_taxonomy_form_vocabulary_submit()
- 5.2 modules/taxonomy.inc \hierarchical_select_taxonomy_form_vocabulary_submit()
- 6.3 modules/hs_taxonomy.module \hierarchical_select_taxonomy_form_vocabulary_submit()
Additional submit handler for the taxonomy_form_vocabulary form.
File
- modules/
taxonomy.inc, line 170
Code
function hierarchical_select_taxonomy_form_vocabulary_submit($form_id, $form_values) {
$vid = $form_values['vid'];
foreach ($form_values['hierarchical_select'] as $setting => $value) {
variable_set("{$setting}_{$vid}", $value);
}
}