You are here

function redhen_fields_field_is_empty in RedHen CRM 7

Implements hook_field_is_empty().

File

modules/redhen_fields/redhen_fields.module, line 402
Defines email, phone and address field types for RedHen CRM.

Code

function redhen_fields_field_is_empty($item, $field) {
  return !isset($item['value']) || $item['value'] === '';
}