function theme_textimage_formatter in Textimage 7.2
Same name and namespace in other branches
- 6.2 textimage.module \theme_textimage_formatter()
- 7.3 textimage.module \theme_textimage_formatter()
Todo.
File
- ./
textimage.module, line 700 - Provides text to image manipulations.
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);
}