function email_field_info in Email Field 7
Same name and namespace in other branches
- 5 email.module \email_field_info()
- 6.2 email.module \email_field_info()
- 6 email.module \email_field_info()
Implements hook_field_info().
File
- ./
email.module, line 11 - 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',
'property_type' => 'text',
),
);
}