You are here

function fivestar_settings_submit in Fivestar 6

Same name and namespace in other branches
  1. 5 fivestar.module \fivestar_settings_submit()
  2. 6.2 includes/fivestar.admin.inc \fivestar_settings_submit()
  3. 7.2 includes/fivestar.admin.inc \fivestar_settings_submit()
1 string reference to 'fivestar_settings_submit'
fivestar_settings in ./fivestar.module
Callback function for admin/settings/fivestar. Display the settings form.

File

./fivestar.module, line 499
A simple n-star voting widget, usable in other forms.

Code

function fivestar_settings_submit($form, &$form_state) {
  variable_set('fivestar_widget', $form_state['values']['fivestar_widget']);
}