You are here

function asin_field_formatter_info in Amazon Product Advertisement API 7

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

Implementation of hook_field_formatter_info().

File

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

Code

function asin_field_formatter_info() {
  return array(
    'asin_default' => array(
      'label' => t('Thumbnail with title'),
      'field types' => array(
        'asin',
      ),
    ),
    'asin_details' => array(
      'label' => t('Thumbnail with details'),
      'field types' => array(
        'asin',
      ),
    ),
    'asin_thumbnail' => array(
      'label' => t('Thumbnail image'),
      'field types' => array(
        'asin',
      ),
    ),
    'asin_medium' => array(
      'label' => t('Medium image'),
      'field types' => array(
        'asin',
      ),
    ),
    'asin_large' => array(
      'label' => t('Large image'),
      'field types' => array(
        'asin',
      ),
    ),
    'asin_inline' => array(
      'label' => t('Link to item'),
      'field types' => array(
        'asin',
      ),
    ),
    'asin_plain' => array(
      'label' => t('ASIN as plain text'),
      'field types' => array(
        'asin',
      ),
    ),
  );
}