You are here

function breakpoints_breakpoints_group_revert in Breakpoints 7

Revert the breakpoints of a group.

1 call to breakpoints_breakpoints_group_revert()
breakpoints_admin_breakpoints_submit_revert in ./breakpoints.admin.inc
Admin form submit - Revert theme breakpoints.

File

./breakpoints.module, line 829
Breakpoints @todo: provide button to reload breakpoints from theme

Code

function breakpoints_breakpoints_group_revert(&$group) {
  breakpoints_breakpoints_group_reload($group);
  $group->overridden = 0;
  breakpoints_breakpoint_group_save($group);
}