1 taxonomy.module taxonomy_field_formatter_info()

Implements hook_field_formatter_info().

File

core/modules/taxonomy/taxonomy.module, line 1505
Enables the organization of content into categories.

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'),
    ),
    'taxonomy_term_reference_rendered' => array(
      'label' => t('Rendered term'),
      'description' => t('Display the referenced term in a specific display mode'),
      'field types' => array('taxonomy_term_reference'),
      'settings' => array('view_mode' => 'default'),
    ),
  );
}