function file_field_is_empty
file_field_is_empty($item, $field)
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']); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!file!file.field.inc/function/file_field_is_empty/7.x