function file_field_is_empty

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

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.