You are here

function asin_content_generate in Amazon Product Advertisement API 6

File

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

Code

function asin_content_generate($node, $field) {
  if (content_handle('widget', 'multiple values', $field) == CONTENT_HANDLE_MODULE) {
    return content_devel_multiple('_asin_content_generate', $node, $field);
  }
  else {
    return _asin_devel_generate($node, $field);
  }
}