1 email.module email_field_info()

Implements hook_field_info().

File

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

Code

function email_field_info() {
  return array(
    'email' => array(
      'label' => 'Email',
      'description' => t('This field stores and renders email addresses.'),
      'default_widget' => 'email_textfield',
      'default_formatter' => 'email_default',
    ),
  );
}