You are here

function breakpoints_breakpoint_load in Breakpoints 7

Load a single breakpoint.

2 calls to breakpoints_breakpoint_load()
breakpoints_breakpoints_group_reload_from_theme in ./breakpoints.module
breakpoints_themes_enabled in ./breakpoints.module
Implements hook_themes_enabled(); Import breakpoints from all new enabled themes. Do not use breakpoints_breakpoints_group_reload_from_theme as is clears the cache.

File

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

Code

function breakpoints_breakpoint_load($name, $source, $source_type) {
  $key = drupal_strtolower('breakpoints.' . $source_type . '.' . $source . '.' . $name);
  return breakpoints_breakpoint_load_by_fullkey($key);
}