function fivestar_settings_submit in Fivestar 6.2
Same name and namespace in other branches
- 5 fivestar.module \fivestar_settings_submit()
- 6 fivestar.module \fivestar_settings_submit()
- 7.2 includes/fivestar.admin.inc \fivestar_settings_submit()
1 string reference to 'fivestar_settings_submit'
- fivestar_settings in includes/
fivestar.admin.inc - Callback function for admin/settings/fivestar. Display the settings form.
File
- includes/
fivestar.admin.inc, line 90 - Configuration pages for Fivestar module.
Code
function fivestar_settings_submit($form, &$form_state) {
// TODO We could delete all variables for removed tags
variable_set('fivestar_tags', $form_state['values']['tags']);
variable_set('fivestar_widget', $form_state['values']['fivestar_widget']);
// Rebuild the menu in case tags were changed
menu_rebuild();
}