function _bootstrap_grid_col_screens in Bootstrap fieldgroup 7
Returns the class values suffices available for the bootstrap_grid_col_[xs,sm,md,lg] configuration options. Provided by a function to avoid hardcoding them in multiple places in the code.
3 calls to _bootstrap_grid_col_screens()
- field_group_pre_render_bootstrap_grid_col in ./
bootstrap_fieldgroup.module - Implements field_group_pre_render_<format-type>. Format type: Bootstrap Grid Column.
- field_group_pre_render_bootstrap_grid_row in ./
bootstrap_fieldgroup.module - Implements field_group_pre_render_<format-type>. Format type: Bootstrap Grid Row.
- _bootstrap_fieldgroup_grid_col_format_settings in ./
bootstrap_fieldgroup.module - Helper function that returns the format settings array for the bootstrap_grid_col_[xs,sm,md,lg] options used in bootstrap_grid_row and bootstrap_grid_col field group format types.
File
- ./
bootstrap_fieldgroup.module, line 651 - Module file for the bootstrap_fieldgroup module.
Code
function _bootstrap_grid_col_screens() {
static $screens;
if (!isset($screens)) {
$screens = array(
'xs' => 'extra small',
'sm' => 'small',
'md' => 'medium',
'lg' => 'large',
);
}
return $screens;
}