function theme_petreference_formatter_plain in Previewable email templates 6
Theme function for 'plain' petreference field formatter.
File
- modules/
petreference/ petreference.module, line 299 - Defines a field type for referencing pet template to a node.
Code
function theme_petreference_formatter_plain($element) {
$output = '';
if (!empty($element['#item']['safe']['pid'])) {
$output = check_plain($element['#item']['safe']['title']);
}
return $output;
}