Same name and namespace in other branches
- 7.x-2.x colorbox.module \colorbox_insert_styles() 1 comment
Implements hook_insert_styles().
File
-
./
colorbox.module, line 617
Code
function colorbox_insert_styles() {
$insert_styles = array();
foreach (image_styles() as $key => $style) {
$insert_styles['colorbox__' . $key] = array(
'label' => t('Colorbox @style', array(
'@style' => $style['name'],
)),
);
}
return $insert_styles;
}