function email_field_is_empty

cis7 email.module email_field_is_empty($item, $field)
cle7 email.module email_field_is_empty($item, $field)
elmsmedia7 email.module email_field_is_empty($item, $field)
icor7 email.module email_field_is_empty($item, $field)
meedjum_blog7 email.module email_field_is_empty($item, $field)
mooc7 email.module email_field_is_empty($item, $field)

Implements hook_content_is_empty().

File

sites/all/modules/ulmus/email/email.module, line 61
Module file for the email module, which creates a email address field.

Code

function email_field_is_empty($item, $field) {
  if (empty($item['email'])) {
    return TRUE;
  }
  return FALSE;
}
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.