You are here

function bigint_field_is_empty in Big Integer 7

Implements hook_field_is_empty().

File

./bigint.module, line 133
Defines numeric field types.

Code

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