text_field_formatter_info

function text_field_formatter_info

text_field_formatter_info()

Implements hook_field_formatter_info().

File

modules/field/modules/text/text.module, line 181
Defines simple text field types.

Code

function text_field_formatter_info() {
  return array(
    'text_default' => array(
      'label' => t('Default'),
      'field types' => array('text', 'text_long', 'text_with_summary'),
    ),
    'text_plain' => array(
      'label' => t('Plain text'),
      'field types' => array('text', 'text_long', 'text_with_summary'),
    ),

    // The text_trimmed formatter displays the trimmed versio