function breakpoints_settings in Breakpoints 7
Load general settings.
6 calls to breakpoints_settings()
- BreakpointMultipliersTestCase::testBreakpointMultipliers in ./
breakpoints.test - Test breakpoints multipliers functionality.
- breakpoints_admin_breakpoints in ./
breakpoints.admin.inc - Admin form
- breakpoints_admin_multiplier_delete_form_submit in ./
breakpoints.admin.inc - breakpoints_breakpoints_group_reload_from_theme in ./
breakpoints.module - breakpoints_multipliers_form in ./
breakpoints.admin.inc - Multipliers administration form.
File
- ./
breakpoints.module, line 307 - Breakpoints @todo: provide button to reload breakpoints from theme
Code
function breakpoints_settings() {
$config = new StdClass();
$config->multipliers = variable_get('breakpoints_multipliers', array(
'1x',
'1.5x',
'2x',
));
return $config;
}