function breakpoints_admin_breakpoints_submit_revert in Breakpoints 7
Admin form submit - Revert theme breakpoints.
1 string reference to 'breakpoints_admin_breakpoints_submit_revert'
- breakpoints_admin_breakpoints in ./
breakpoints.admin.inc - Admin form
File
- ./
breakpoints.admin.inc, line 516 - Breakpoints - admin settings
Code
function breakpoints_admin_breakpoints_submit_revert($form, &$form_state) {
$group_name = $form_state['group_name'];
$global_group = $group_name == '';
if (!$global_group) {
$group = breakpoints_breakpoint_group_load($group_name);
if ($group) {
breakpoints_breakpoints_group_revert($group);
}
}
}