You are here

function international_phone_field_is_empty in International Phone Field 7.2

Same name and namespace in other branches
  1. 7 international_phone.module \international_phone_field_is_empty()

Implements hook_field_is_empty().

File

./international_phone.module, line 30
Defines a field for attaching international phone fields to entities.

Code

function international_phone_field_is_empty($item, $field) {
  return empty($item['value']);
}