function email_field_info_alter

Implements hook_field_info_alter().

File

drupal/core/modules/email/email.module, line 39
Defines a simple e-mail field type.

Code

function email_field_info_alter(&$info) {
  if (module_exists('text')) {
    $info['email']['default_formatter'] = 'text_plain';
  }
}