You are here

function group_role_form_submit_delete in Group 7

Form API submit callback for the delete button.

1 string reference to 'group_role_form_submit_delete'
group_role_form in admin/group_role.inc
Generates the group role editing form.

File

admin/group_role.inc, line 99
Group role editing UI.

Code

function group_role_form_submit_delete(&$form, &$form_state) {
  $group_role = $form_state['group_role']->name;
  $form_state['redirect'] = "admin/group/role/manage/{$group_role}/delete";
}