You are here

function brazilianids_content_is_empty in Brazilian IDs 6

Implementation of hook_content_is_empty().

File

./brazilianids_cck.inc, line 99
brazilianids_cck.inc Deal with brazilian IDs like CPF and CNPJ as CCK fields.

Code

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