function email_field_info

cis7 email.module email_field_info()
cle7 email.module email_field_info()
elmsmedia7 email.module email_field_info()
icor7 email.module email_field_info()
meedjum_blog7 email.module email_field_info()
mooc7 email.module email_field_info()

Implements hook_field_info().

File

sites/all/modules/ulmus/email/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',
    ),
  );
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.