function petreference_field_formatter_info in Previewable email templates 6
Implementation of hook_field_formatter_info().
File
- modules/
petreference/ petreference.module, line 270 - Defines a field type for referencing pet template to a node.
Code
function petreference_field_formatter_info() {
return array(
'default' => array(
'label' => t('Template Name (link)'),
'field types' => array(
'petreference',
),
'multiple values' => CONTENT_HANDLE_CORE,
),
'plain' => array(
'label' => t('Template Name (no link)'),
'field types' => array(
'petreference',
),
'multiple values' => CONTENT_HANDLE_CORE,
),
);
}