You are here

function nodereference_count_field_is_empty in Nodereference Count 7

Implements hook_field_is_empty().

File

./nodereference_count.module, line 84
Defines a field type for counting the references to a node.

Code

function nodereference_count_field_is_empty($item, $field) {
  return is_null($item['count']);
}