Same name and namespace in other branches
- 7.x-1.x colorbox.module \colorbox_insert_content() 1 comment
Implements hook_insert_content().
File
-
./
colorbox.module, line 639
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,
));
}