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