function location_taxonomy_vocabulary_form_submit in Location 7.5
Same name and namespace in other branches
- 7.3 contrib/location_taxonomy/location_taxonomy.module \location_taxonomy_vocabulary_form_submit()
Submit handler for the vocabulary add/edit form.
1 string reference to 'location_taxonomy_vocabulary_form_submit'
- location_taxonomy_form_alter in contrib/
location_taxonomy/ location_taxonomy.module - Implements hook_form_alter().
File
- contrib/
location_taxonomy/ location_taxonomy.module, line 76 - Associate locations with taxonomy terms.
Code
function location_taxonomy_vocabulary_form_submit($form, &$form_state) {
if (isset($form_state['values']['location_settings'])) {
variable_set('location_taxonomy_' . $form_state['values']['vid'], $form_state['values']['location_settings']);
}
}