function bear_necessities_default_breakpoints in Bear 7
Same name and namespace in other branches
- 7.2 modules/bear_necessities/bear_necessities.default_breakpoints.inc \bear_necessities_default_breakpoints()
Implements hook_default_breakpoints().
File
- modules/
bear_necessities/ bear_necessities.default_breakpoints.inc, line 10 - bear_necessities.default_breakpoints.inc
Code
function bear_necessities_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.full';
$breakpoint->name = 'full';
$breakpoint->breakpoint = '(min-width: 801px)';
$breakpoint->source = 'user';
$breakpoint->source_type = 'custom';
$breakpoint->status = 1;
$breakpoint->weight = 0;
$breakpoint->multipliers = array(
'1x' => '1x',
);
$export['custom.user.full'] = $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.mobile';
$breakpoint->name = 'mobile';
$breakpoint->breakpoint = '(max-width: 400px)';
$breakpoint->source = 'user';
$breakpoint->source_type = 'custom';
$breakpoint->status = 1;
$breakpoint->weight = 0;
$breakpoint->multipliers = array(
'1.5x' => '1.5x',
'2x' => '2x',
'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.narrow';
$breakpoint->name = 'narrow';
$breakpoint->breakpoint = '(max-width: 800px)';
$breakpoint->source = 'user';
$breakpoint->source_type = 'custom';
$breakpoint->status = 1;
$breakpoint->weight = 0;
$breakpoint->multipliers = array(
'1x' => '1x',
);
$export['custom.user.narrow'] = $breakpoint;
return $export;
}