You are here

function fivestar_settings_submit in Fivestar 7.2

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. 6 fivestar.module \fivestar_settings_submit()

Submit handler for fivestar_settings() form.

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 43
Configuration pages for Fivestar module.

Code

function fivestar_settings_submit($form, &$form_state) {
  drupal_set_message(t('Your settings have been saved.'));

  // @todo We could delete all variables for removed tags.
  variable_set('fivestar_tags', $form_state['values']['tags']);
}