function nodereferrer__field_formatter_info in NodeReferrer 7
Implements of hook_field_formatter_info().
File
- ./
nodereferrer.module, line 442 - Defines a field type for backlinking referencing nodes.
Code
function nodereferrer__field_formatter_info() {
return array(
'default' => array(
'label' => t('Node Title Link (Default)'),
'field types' => array(
'nodereferrer',
),
'multiple values' => CONTENT_HANDLE_CORE,
),
'plain' => array(
'label' => 'Node Title Plain Text',
'field types' => array(
'nodereferrer',
),
'multiple values' => CONTENT_HANDLE_CORE,
),
'teaser' => array(
'label' => 'Node Teaser',
'field types' => array(
'nodereferrer',
),
'multiple values' => CONTENT_HANDLE_CORE,
),
'full' => array(
'label' => 'Node Body',
'field types' => array(
'nodereferrer',
),
'multiple values' => CONTENT_HANDLE_CORE,
),
'count' => array(
'label' => 'Node Count',
'field types' => array(
'nodereferrer',
),
'multiple values' => CONTENT_HANDLE_CORE,
),
);
}