You are here

function countries_field_is_empty in Countries 7

Same name and namespace in other branches
  1. 8 countries.fields.inc \countries_field_is_empty()
  2. 7.2 countries.fields.inc \countries_field_is_empty()

Implement hook_field_is_empty().

File

./countries.module, line 377

Code

function countries_field_is_empty($item, $field) {
  return empty($item['iso2']);
}