function hook_styles_styles in Styles 6.2
Same name and namespace in other branches
- 6 includes/styles.api.php \hook_styles_styles()
- 7.2 includes/styles.api.php \hook_styles_styles()
- 7 styles.api.php \hook_styles_styles()
File
- includes/
styles.api.php, line 52 - Hooks available for modules to implement Styles functionality.
Code
function hook_styles_styles() {
$styles = array();
foreach (image_styles() as $style_name => $style) {
$styles[$style_name] = $style;
}
return array(
'media' => array(
'image' => $styles,
),
);
}