You are here

function layout_breakpoint_load_all in Layout 7

API function to get all responsive breakpoint on the site.

3 calls to layout_breakpoint_load_all()
layout_breakpoint_get_css in ./layout.module
Build CSS for the breakpoints with media queries.
theme_layout_responsive in plugins/layouts/responsive.inc
Draw the responsive layout.
theme_layout_responsive_admin in plugins/layouts/responsive.inc
Draw the responsive layout admin interface.

File

./layout.module, line 249
Responsive layout builder tool for Panels.

Code

function layout_breakpoint_load_all() {
  ctools_include('export');
  $breakpoints = ctools_export_crud_load_all('layout_breakpoint');
  uasort($breakpoints, 'layout_breakpoint_sort_by_width');
  return $breakpoints;
}