function theme_emimage_image_embed in Embedded Media Field 6
Same name and namespace in other branches
- 6.3 contrib/emimage/emimage.theme.inc \theme_emimage_image_embed()
- 6.2 contrib/emimage/emimage.theme.inc \theme_emimage_image_embed()
Place the 'embed' code for the image in a form element.
File
- contrib/
emimage/ emimage.theme.inc, line 197 - Theme functions for Embedded Media Image
Code
function theme_emimage_image_embed($field, $item, $formatter, $node, $options = array()) {
if ($item['value'] && $item['provider']) {
$output = drupal_get_form('emimage_embed_form', $field, $item, $formatter, $node, $options);
}
return $output;
}