You are here

function botcha_point_admin_form_submit in BOTCHA Spam Prevention 6

Same name and namespace in other branches
  1. 7 botcha.pages.inc \botcha_point_admin_form_submit()

Submit function for botcha_point_admin_form.

File

./botcha.pages.inc, line 366
Implementation of botcha administration forms.

Code

function botcha_point_admin_form_submit($form, $form_state) {
  $botcha_point_form_id = $form_state['values']['botcha_point_form_id'];
  $botcha_type = $form_state['values']['botcha_type'];
  botcha_set_form_id_setting($botcha_point_form_id, $botcha_type);
  drupal_set_message(t('Saved BOTCHA point settings.'), 'status');
}