You are here

function breakpoints_admin_breakpoint_group_delete_form_submit in Breakpoints 7

Delete a group.

File

./breakpoints.admin.inc, line 843
Breakpoints - admin settings

Code

function breakpoints_admin_breakpoint_group_delete_form_submit($form, &$form_state) {
  $machine_name = $form_state['machine_name'];
  breakpoints_breakpoint_group_delete_by_name($machine_name);
  menu_rebuild();
  $form_state['redirect'] = 'admin/config/media/breakpoints';
}