function insert_shadowbox_insert_styles in Shadowbox 8
Same name and namespace in other branches
- 7.4 insert_shadowbox/insert_shadowbox.module \insert_shadowbox_insert_styles()
Implementation of hook_insert_styles().
File
- insert_shadowbox/
insert_shadowbox.module, line 8
Code
function insert_shadowbox_insert_styles() {
$insert_styles = array();
$image_styles = image_styles();
foreach ($image_styles as $style) {
$insert_styles['shadowbox_' . $style['name']] = array(
'label' => 'shadowbox: ' . t($style['name']),
);
}
return $insert_styles;
}