function file_field_is_empty in Drupal 7
Implements hook_field_is_empty().
1 call to file_field_is_empty()
- image_field_is_empty in modules/
image/ image.field.inc - Implements hook_field_is_empty().
File
- modules/
file/ file.field.inc, line 376 - Field module functionality for the File module.
Code
function file_field_is_empty($item, $field) {
return empty($item['fid']);
}