You are here

function content_taxonomy_content_is_empty in Content Taxonomy 6

Same name and namespace in other branches
  1. 6.2 content_taxonomy.module \content_taxonomy_content_is_empty()

Implementation of hook_content_is_empty().

File

./content_taxonomy.module, line 241
Defines a field type for referencing a taxonomy term.

Code

function content_taxonomy_content_is_empty($item, $field) {
  if (empty($item['value']) || $item['value'] == 0) {
    return TRUE;
  }
  return FALSE;
}