function colorbox_insert_content in Colorbox 6
Same name and namespace in other branches
- 7.2 colorbox.module \colorbox_insert_content()
- 7 colorbox.module \colorbox_insert_content()
Implementation of hook_insert_content().
File
- ./
colorbox.module, line 447 - A light-weight, customizable lightbox plugin for jQuery 1.3
Code
function colorbox_insert_content($item, $style, $widget) {
list($item['presetname'], $item['modulename']) = explode('__', $style['name'], 2);
return theme('colorbox_insert_image', $item, $widget);
}