You are here

function nodereferrer_field_formatter_info in NodeReferrer 6

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

Implementation of hook_field_formatter_info().

1 call to nodereferrer_field_formatter_info()
nodereferrer_view_handler_field::options_form in views/nodereferrer_view_handler_field.inc
Form to get field parameters

File

./nodereferrer.module, line 177
Defines a field type for backlinking referencing nodes.

Code

function nodereferrer_field_formatter_info() {
  return array(
    'default' => array(
      'label' => '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,
    ),
  );
}