You are here

function theme_emimage_image_embed in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 6 contrib/emimage/emimage.theme.inc \theme_emimage_image_embed()
  2. 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 190
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;
}