1 file.field.inc file_field_is_empty($item, $field)

Implements hook_field_is_empty().

File

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

Code

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