You are here

function content_taxonomy_field_formatter_info in Content Taxonomy 5

Same name and namespace in other branches
  1. 6.2 content_taxonomy.module \content_taxonomy_field_formatter_info()
  2. 6 content_taxonomy.module \content_taxonomy_field_formatter_info()

Implementation of hook_field_formatter_info().

File

./content_taxonomy.module, line 157
Defines a field type for referencing a taxonomy term.

Code

function content_taxonomy_field_formatter_info() {
  return array(
    'default' => array(
      'label' => 'As Text',
      'field types' => array(
        'content_taxonomy',
      ),
    ),
    'link' => array(
      'label' => 'As Link',
      'field types' => array(
        'content_taxonomy',
      ),
    ),
  );
}