You are here

function enterprise_base_default_breakpoints in Enterprise Base 7.3

Implements hook_default_breakpoints().

File

./enterprise_base.default_breakpoints.inc, line 10
enterprise_base.default_breakpoints.inc

Code

function enterprise_base_default_breakpoints() {
  $export = array();
  $breakpoint = new stdClass();
  $breakpoint->disabled = FALSE;

  /* Edit this to true to make a default breakpoint disabled initially */
  $breakpoint->api_version = 1;
  $breakpoint->machine_name = 'custom.user.mobile';
  $breakpoint->name = 'mobile';
  $breakpoint->breakpoint = '(max-width: 767px)';
  $breakpoint->source = 'user';
  $breakpoint->source_type = 'custom';
  $breakpoint->status = 1;
  $breakpoint->weight = 0;
  $breakpoint->multipliers = array(
    '1x' => '1x',
  );
  $export['custom.user.mobile'] = $breakpoint;
  $breakpoint = new stdClass();
  $breakpoint->disabled = FALSE;

  /* Edit this to true to make a default breakpoint disabled initially */
  $breakpoint->api_version = 1;
  $breakpoint->machine_name = 'custom.user.normal';
  $breakpoint->name = 'normal';
  $breakpoint->breakpoint = '(min-width: 980px) and (max-width: 1199px)';
  $breakpoint->source = 'user';
  $breakpoint->source_type = 'custom';
  $breakpoint->status = 1;
  $breakpoint->weight = 2;
  $breakpoint->multipliers = array(
    '1x' => '1x',
  );
  $export['custom.user.normal'] = $breakpoint;
  $breakpoint = new stdClass();
  $breakpoint->disabled = FALSE;

  /* Edit this to true to make a default breakpoint disabled initially */
  $breakpoint->api_version = 1;
  $breakpoint->machine_name = 'custom.user.tablet';
  $breakpoint->name = 'tablet';
  $breakpoint->breakpoint = '(min-width: 768px) and (max-width: 979px)';
  $breakpoint->source = 'user';
  $breakpoint->source_type = 'custom';
  $breakpoint->status = 1;
  $breakpoint->weight = 1;
  $breakpoint->multipliers = array(
    '1x' => '1x',
  );
  $export['custom.user.tablet'] = $breakpoint;
  $breakpoint = new stdClass();
  $breakpoint->disabled = FALSE;

  /* Edit this to true to make a default breakpoint disabled initially */
  $breakpoint->api_version = 1;
  $breakpoint->machine_name = 'custom.user.wide';
  $breakpoint->name = 'wide';
  $breakpoint->breakpoint = '(min-width: 1200px)';
  $breakpoint->source = 'user';
  $breakpoint->source_type = 'custom';
  $breakpoint->status = 1;
  $breakpoint->weight = 3;
  $breakpoint->multipliers = array(
    '1x' => '1x',
  );
  $export['custom.user.wide'] = $breakpoint;
  return $export;
}