You are here

function phone_field_is_empty in Phone 7.2

Same name and namespace in other branches
  1. 7 phone.module \phone_field_is_empty()

Implements hook_field_is_empty().

File

./phone.module, line 320
The phone module lets administrators use a phone number field type.

Code

function phone_field_is_empty($item, $field) {
  return empty($item['number']);
}