You are here

function country_field_field_is_empty in Country Field 7

Implements hook_field_is_empty().

File

./country_field.module, line 70
Contains field hook implementations for a country select field.

Code

function country_field_field_is_empty($item, $field) {
  if (!is_array($item) || empty($item['value'])) {
    return TRUE;
  }
  return FALSE;
}