function taxonomy_field_formatter_info

Implements hook_field_formatter_info().

File

modules/taxonomy/taxonomy.module, line 1573

Code

function taxonomy_field_formatter_info() {
  return array(
    'taxonomy_term_reference_link' => array(
      'label' => t('Link'),
      'field types' => array(
        'taxonomy_term_reference',
      ),
    ),
    'taxonomy_term_reference_plain' => array(
      'label' => t('Plain text'),
      'field types' => array(
        'taxonomy_term_reference',
      ),
    ),
    'taxonomy_term_reference_rss_category' => array(
      'label' => t('RSS category'),
      'field types' => array(
        'taxonomy_term_reference',
      ),
    ),
  );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.