function colorbox_insert_content in Colorbox 7
Same name and namespace in other branches
- 6 colorbox.module \colorbox_insert_content()
- 7.2 colorbox.module \colorbox_insert_content()
Implements hook_insert_content().
File
- ./
colorbox.module, line 629 - 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('colorbox_insert_image', array(
'item' => $item,
'widget' => $widget,
));
}