You are here

function nodereference_content_is_empty in Content Construction Kit (CCK) 6.2

Same name and namespace in other branches
  1. 6.3 modules/nodereference/nodereference.module \nodereference_content_is_empty()
  2. 6 modules/nodereference/nodereference.module \nodereference_content_is_empty()

Implementation of hook_content_is_empty().

File

modules/nodereference/nodereference.module, line 284
Defines a field type for referencing one node from another.

Code

function nodereference_content_is_empty($item, $field) {
  if (empty($item['nid'])) {
    return TRUE;
  }
  return FALSE;
}