1 email.module email_field_formatter_info()

Implements hook_field_formatter_info().

File

core/modules/email/email.module, line 57
Module file for the email module, which creates an email address field.

Code

function email_field_formatter_info() {
  $formats = array(
    'email_default' => array(
      'label' => t('Default email link'),
      'description' => t('Display the email address as a mailto link.'),
      'field types' => array('email'),
    ),
    'email_plain' => array(
      'label' => t('Email plain text'),
      'description' => t('Display the email address as plain text.'),
      'field types' => array('email'),
    ),
  );
  return $formats;
}