You are here

function text_field_formatter_info in Content Construction Kit (CCK) 6

Same name in this branch
  1. 6 examples/simple_field.php \text_field_formatter_info()
  2. 6 examples/example_field.php \text_field_formatter_info()
  3. 6 modules/text/text.module \text_field_formatter_info()
Same name and namespace in other branches
  1. 5 text.module \text_field_formatter_info()
  2. 6.3 modules/text/text.module \text_field_formatter_info()
  3. 6.2 modules/text/text.module \text_field_formatter_info()

Implementation of hook_field_formatter_info().

File

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

Code

function text_field_formatter_info() {
  return array(
    'default' => array(
      'label' => t('Default'),
      'field types' => array(
        'text',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
    'plain' => array(
      'label' => t('Plain text'),
      'field types' => array(
        'text',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
    'trimmed' => array(
      'label' => t('Trimmed'),
      'field types' => array(
        'text',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
  );
}