You are here

function nat_field_formatter_info in Node Auto Term [NAT] 7

Same name and namespace in other branches
  1. 7.2 nat.module \nat_field_formatter_info()

Implements hook_field_formatter_info().

File

./nat.module, line 237
NAT - node auto term - is a helper module that automatically creates a term using the same title as a node.

Code

function nat_field_formatter_info() {
  return array(
    'nat_link' => array(
      'label' => t('NAT link'),
      'field types' => array(
        'taxonomy_term_reference',
      ),
    ),
  );
}