You are here

function asin_field_widget_info in Amazon Product Advertisement API 7.2

Same name and namespace in other branches
  1. 7 asin/asin.module \asin_field_widget_info()

Implementation of hook_field_widget_info().

File

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

Code

function asin_field_widget_info() {
  return array(
    'asin_text' => array(
      'label' => t('Amazon ASIN Text field'),
      'field types' => array(
        'asin',
      ),
    ),
    'asin_autocomplete' => array(
      'label' => t('Product name autocomplete'),
      'field types' => array(
        'asin',
      ),
    ),
  );
}