You are here

function barcode_content_is_empty in Barcode 6

Same name and namespace in other branches
  1. 6.2 barcodefield.module \barcode_content_is_empty()

Implementation of hook_content_is_empty().

File

./barcode.module, line 106

Code

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