function telephone_field_is_empty in Telephone 7
Implements hook_field_is_empty().
File
- ./
telephone.module, line 35 - Defines a simple telephone number field type.
Code
function telephone_field_is_empty($item, $field) {
return !isset($item['value']) || $item['value'] === '';
}