You are here

function email_field_is_empty in Email Field 7

Implements hook_content_is_empty().

File

./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;
}