function asset_content_is_empty in Asset 6
implementation of CCK's hook_content_is_empty
Delegated to filefield.module.
File
- inc/
modules/ asset_content.inc, line 9
Code
function asset_content_is_empty($item, $field) {
return empty($item['fid']) || (int) $item['fid'] == 0;
}