You are here

function theme_textimage_formatter in Textimage 6.2

Same name and namespace in other branches
  1. 7.3 textimage.module \theme_textimage_formatter()
  2. 7.2 textimage.module \theme_textimage_formatter()
1 string reference to 'theme_textimage_formatter'
textimage_theme in ./textimage.module
Implementation of hook_theme().

File

./textimage.module, line 951

Code

function theme_textimage_formatter($element) {
  $alt = $title = $element['#item']['safe'];
  if (isset($element['#item']['email'])) {
    $alt = $title = '';
  }
  return theme('textimage_image', drupal_substr($element['#formatter'], 10), $element['#item']['safe'], array(), 'png', $alt, $title);
}