You are here

function theme_emimage_formatter_image_preview in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emimage/emimage.theme.inc \theme_emimage_formatter_image_preview()
  2. 6.2 contrib/emimage/emimage.theme.inc \theme_emimage_formatter_image_preview()

File

contrib/emimage/emimage.theme.inc, line 184
Theme functions for Embedded Media Image

Code

function theme_emimage_formatter_image_preview($element) {
  $field = content_fields($element['#field_name'], $element['#type_name']);
  return module_invoke('emimage', 'field_formatter', $field, $element['#item'], $element['#formatter'], $element['#node']);
}