You are here

function breakpoints_breakpoint_delete in Breakpoints 7

Delete a single breakpoint.

4 calls to breakpoints_breakpoint_delete()
BreakpointsCRUDTestCase::testBreakpointsCRUD in ./breakpoints.test
Test CRUD operations for breakpoints.
breakpoints_breakpoints_group_override in ./breakpoints.module
Override the breakpoints of a group.
breakpoints_breakpoints_group_reload in ./breakpoints.module
Reload the breakpoints as defined by the group.
breakpoints_themes_disabled in ./breakpoints.module
Implements hook_themes_disabled(); Remove breakpoints from all disabled themes.

File

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

Code

function breakpoints_breakpoint_delete($breakpoint) {
  $name = breakpoints_breakpoint_config_name($breakpoint);
  return breakpoints_breakpoint_delete_by_fullkey($name);
}