function file_field_is_empty

Implements hook_field_is_empty().

1 call to file_field_is_empty()
image_field_is_empty in drupal/core/modules/image/image.field.inc
Implements hook_field_is_empty().

File

drupal/core/modules/file/file.field.inc, line 291
Field module functionality for the File module.

Code

function file_field_is_empty($item, $field) {
  return empty($item['fid']);
}