You are here

function layout_default_layout_breakpoint in Layout 7

Implementation of hook_default_layout_breakpoint().

Provide a couple of default breakpoints.

File

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

Code

function layout_default_layout_breakpoint() {
  $export = array();
  $breakpoint = new stdClass();
  $breakpoint->api_version = 1;
  $breakpoint->name = 'smartphone';
  $breakpoint->admin_title = 'Smartphone';
  $breakpoint->width = '0px';
  $breakpoint->grid_name = 'three_column_fluid';
  $export['smatphone'] = $breakpoint;
  $breakpoint = new stdClass();
  $breakpoint->api_version = 1;
  $breakpoint->name = 'tablet';
  $breakpoint->admin_title = 'Tablet';
  $breakpoint->width = '320px';
  $breakpoint->grid_name = 'six_column_fluid';
  $export['tablet'] = $breakpoint;
  $breakpoint = new stdClass();
  $breakpoint->api_version = 1;
  $breakpoint->name = 'standard';
  $breakpoint->admin_title = 'Standard';
  $breakpoint->width = '760px';
  $breakpoint->grid_name = 'twelve_column_fluid';
  $export['standard'] = $breakpoint;
  return $export;
}