You are here

function breakpoints_breakpoint_reset in Breakpoints 7

Clears the breakpoint caches.

2 calls to breakpoints_breakpoint_reset()
breakpoints_breakpoint_delete_by_fullkey in ./breakpoints.module
Delete a single breakpoint.
breakpoints_breakpoint_save in ./breakpoints.module
Save a single breakpoint.

File

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

Code

function breakpoints_breakpoint_reset() {
  ctools_include('export');
  ctools_export_load_object_reset('breakpoints');
  drupal_static_reset('breakpoints_breakpoint_load_by_fullkey');
  cache_clear_all('breakpoints:breakpoints', 'cache');
}