You are here

function colorbox_insert_styles in Colorbox 7

Same name and namespace in other branches
  1. 6 colorbox.module \colorbox_insert_styles()
  2. 7.2 colorbox.module \colorbox_insert_styles()

Implements hook_insert_styles().

File

./colorbox.module, line 617
A light-weight, customizable lightbox plugin for jQuery 1.3

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;
}