You are here

function simple_access_group_form_submit in Simple Access 7.2

Same name and namespace in other branches
  1. 5.2 simple_access.module \simple_access_group_form_submit()
  2. 5 simple_access.module \simple_access_group_form_submit()
  3. 6.2 simple_access.admin.inc \simple_access_group_form_submit()

Group form submit callback.

File

./simple_access.admin.inc, line 116
House all the admin functions in inc to make the foot print a lot smaller.

Code

function simple_access_group_form_submit($form, &$form_state) {
  simple_access_save_group($form_state['values']);
  $form_state['redirect'] = 'admin/config/content/simple-access/groups';
}