function userreference_content_is_empty in Content Construction Kit (CCK) 6.2
Same name and namespace in other branches
- 6.3 modules/userreference/userreference.module \userreference_content_is_empty()
- 6 modules/userreference/userreference.module \userreference_content_is_empty()
Implementation of hook_content_is_empty().
File
- modules/
userreference/ userreference.module, line 223 - Defines a field type for referencing a user from a node.
Code
function userreference_content_is_empty($item, $field) {
if (empty($item['uid'])) {
return TRUE;
}
return FALSE;
}