You are here

function computed_field_field_formatter_info in Computed Field 7

Same name and namespace in other branches
  1. 5 computed_field.module \computed_field_field_formatter_info()
  2. 6 computed_field.module \computed_field_field_formatter_info()

Implements hook_field_formatter_info().

File

./computed_field.module, line 368
Functionality for the computed field.

Code

function computed_field_field_formatter_info() {
  return array(
    'computed_field_unsanitized' => array(
      'label' => t('Unsanitized'),
      'field types' => array(
        'computed',
      ),
    ),
    'computed_field_plain' => array(
      'label' => t('Plain text'),
      'field types' => array(
        'computed',
      ),
    ),
    'computed_field_markup' => array(
      'label' => t('Filtered markup'),
      'field types' => array(
        'computed',
      ),
    ),
    'computed_field_computed_value' => array(
      'label' => t('Raw value, no display code'),
      'field types' => array(
        'computed',
      ),
    ),
  );
}