function resp_img_image_default_styles in Responsive images and styles 7.2
Implements hook_image_default_styles().
File
- ./
resp_img.module, line 577
Code
function resp_img_image_default_styles() {
$styles = array();
// Provide fake responsive image styles for users to select.
$breakpoint_groups = breakpoints_breakpoint_group_load_all();
if ($breakpoint_groups && !empty($breakpoint_groups)) {
foreach (array_keys($breakpoint_groups) as $machine_name) {
$styles[RESP_IMG_STYLE_PREFIX . $machine_name] = array(
'effects' => array(),
);
}
}
return $styles;
}