You are here

function nodereferrer_field_formatter_info in NodeReferrer 5

Same name and namespace in other branches
  1. 6 nodereferrer.module \nodereferrer_field_formatter_info()
  2. 7 nodereferrer.module \nodereferrer_field_formatter_info()

Implementation of hook_field_formatter_info().

File

./nodereferrer.module, line 169
Defines a field type for backlinking referencing nodes. @todo -clear content cache with nodeapi. -query nids for access on load/view..

Code

function nodereferrer_field_formatter_info() {
  return array(
    'default' => array(
      'label' => 'Node Title Link (Default)',
      'field types' => array(
        'nodereferrer',
      ),
    ),
    'plain' => array(
      'label' => 'Node Title Plain Text',
      'field types' => array(
        'nodereferrer',
      ),
    ),
    'teaser' => array(
      'label' => 'Node Teaser',
      'field types' => array(
        'nodereferrer',
      ),
    ),
    'full' => array(
      'label' => 'Node Body',
      'field types' => array(
        'nodereferrer',
      ),
    ),
  );
}