You are here

function international_phone_field_is_empty in International Phone Field 7

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

Implements hook_field_is_empty().

File

./international_phone.module, line 30
Allow users to add international phone fields with a entity.

Code

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