You are here

function breakpoints_breakpoint_group_reset in Breakpoints 7

Clears the breakpoint group caches.

2 calls to breakpoints_breakpoint_group_reset()
breakpoints_breakpoint_group_delete_by_fullkey in ./breakpoints.module
Delete a single breakpoint group by fullkey.
breakpoints_breakpoint_group_save in ./breakpoints.module
Save a single breakpoint group.

File

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

Code

function breakpoints_breakpoint_group_reset() {
  ctools_include('export');
  ctools_export_load_object_reset('breakpoint_group');
  drupal_static_reset('breakpoints_breakpoint_group_load_all');
  cache_clear_all('breakpoints:groups', 'cache');
}