You are here

function field_reference_field_formatter_info in Field reference 7

Implements hook_field_formatter_info().

File

./field_reference.module, line 295
Defines a field type for referencing a field from another.

Code

function field_reference_field_formatter_info() {
  $ret = array(
    'field_reference_default' => array(
      'label' => t('Default'),
      'description' => t("Display the field using it's default view mode."),
      'field types' => array(
        'field_reference',
      ),
    ),
    'field_reference_full' => array(
      'label' => t('Full'),
      'description' => t('Display the field using the <em>full</em> view mode.'),
      'field types' => array(
        'field_reference',
      ),
    ),
    'field_reference_teaser' => array(
      'label' => t('Teaser'),
      'description' => t('Display the field using the <em>teaser</em> view mode.'),
      'field types' => array(
        'field_reference',
      ),
    ),
  );
  return $ret;
}