You are here

function petreference_content_is_empty in Previewable email templates 6

Implementation of hook_content_is_empty().

File

modules/petreference/petreference.module, line 260
Defines a field type for referencing pet template to a node.

Code

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