function filefield_content_is_empty in FileField 6.2
Same name and namespace in other branches
- 6.3 filefield.module \filefield_content_is_empty()
Implementation of CCK's hook_content_is_empty().
The result of this determines whether content.module will save the value of the field.
File
- ./
filefield.module, line 264
Code
function filefield_content_is_empty($item, $field) {
if (empty($item['fid'])) {
return TRUE;
}
return FALSE;
}