You are here

function user_badges_roles_form_submit in User Badges 5

Same name and namespace in other branches
  1. 6.2 user_badges.admin.inc \user_badges_roles_form_submit()
  2. 6 user_badges.admin.inc \user_badges_roles_form_submit()
  3. 7 user_badges.admin.inc \user_badges_roles_form_submit()
  4. 7.2 user_badges.admin.inc \user_badges_roles_form_submit()
  5. 7.3 user_badges.admin.inc \user_badges_roles_form_submit()

File

./user_badges.module, line 531
@brief User Badges module file

Code

function user_badges_roles_form_submit($form_id, $form_values) {
  $array = $form_values['roles'] + $form_values['blocked'];
  user_badges_save_roles($array);
}