You are here

function noderelationships_field_formatter_info in Node Relationships 6

Implementation of hook_field_formatter_info().

See also

theme_noderelationships_formatter_default()

File

./noderelationships.module, line 229
This is the main script for the noderelationships module. It merely contains the implementation of hooks invoked by Drupal core, CCK, Views, etc. All common functions are externalized into several scripts that are included on demand.

Code

function noderelationships_field_formatter_info() {
  return array(
    'default' => array(
      'label' => t('Back references view'),
      'field types' => array(
        'noderelationships_backref',
      ),
      'multiple values' => CONTENT_HANDLE_MODULE,
    ),
    'count' => array(
      'label' => t('Back references count'),
      'field types' => array(
        'noderelationships_backref',
      ),
      'multiple values' => CONTENT_HANDLE_MODULE,
    ),
  );
}