You are here

function asin_content_is_empty in Amazon Product Advertisement API 6

Implementation of hook_content_is_empty().

File

asin/asin.module, line 175
Defines a field type for referencing an Amazon product.

Code

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