function asin_field_widget_info in Amazon Product Advertisement API 7
Same name and namespace in other branches
- 7.2 asin/asin.module \asin_field_widget_info()
Implementation of hook_field_widget_info().
File
- asin/
asin.module, line 163 - 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',
),
),
);
}