You are here

function autoassignrole_page_delete_confirm_submit in Auto Assign Role 7.2

Same name and namespace in other branches
  1. 7 autoassignrole.admin.inc \autoassignrole_page_delete_confirm_submit()

Form submit handler for autoassignrole_page_delete_confirm().

File

./autoassignrole.admin.inc, line 398
Administrative functionality for auto assign role.

Code

function autoassignrole_page_delete_confirm_submit($form, &$form_state) {
  ctools_include('export');
  ctools_export_crud_delete('autoassignrole_page', $form_state['values']['page']);
  menu_rebuild();
  drupal_set_message(t('Successfully deleted page'));
  $form_state['redirect'] = 'admin/config/people/autoassignrole/pages';
}