You are here

function nodereference_count_field_formatter_info in Nodereference Count 7

Same name and namespace in other branches
  1. 6 nodereference_count.module \nodereference_count_field_formatter_info()

Implements hook_field_formatter_info().

File

./nodereference_count.module, line 107
Defines a field type for counting the references to a node.

Code

function nodereference_count_field_formatter_info() {
  return array(
    'nodereference_count_default' => array(
      'label' => t('Default'),
      'field types' => array(
        'nodereference_count',
      ),
    ),
    'nodereference_count_nonzero' => array(
      'label' => t('Non-zero'),
      'field types' => array(
        'nodereference_count',
      ),
    ),
  );
}