You are here

function cck_list_content_is_empty in CCK List 6

Implementation of hook_content_is_empty().

File

./cck_list.module, line 87
Defines a field type that outputs data in a list.

Code

function cck_list_content_is_empty($item, $field) {
  if (empty($item['value']) && (string) $item['value'] !== '0') {
    return TRUE;
  }
  return FALSE;
}