1 email.module email_field_is_empty($item, $field)

Implements hook_field_is_empty().

File

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

Code

function email_field_is_empty($item, $field) {
  return empty($item['email']);
}