function colorbox_insert_content in Colorbox 7.2
Same name and namespace in other branches
- 6 colorbox.module \colorbox_insert_content()
- 7 colorbox.module \colorbox_insert_content()
Implements hook_insert_content().
File
- ./
colorbox.module, line 590 - A light-weight, customizable lightbox plugin for jQuery 1.3.
Code
function colorbox_insert_content($item, $style, $widget) {
list($item['module_name'], $item['style_name']) = explode('__', $style['name'], 2);
return theme(array(
'colorbox_insert_image__' . str_replace('-', '_', $item['style_name']),
'colorbox_insert_image',
), array(
'item' => $item,
'widget' => $widget,
));
}