You are here

function asin_field_is_empty in Amazon Product Advertisement API 7

Same name and namespace in other branches
  1. 7.2 asin/asin.module \asin_field_is_empty()

Implements of hook_field_is_empty().

File

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

Code

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