You are here

function asin_field_formatter_info in Amazon Product Advertisement API 7.2

Same name and namespace in other branches
  1. 6 asin/asin.module \asin_field_formatter_info()
  2. 7 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_default_gallery' => array(
      'label' => t('Gallery with title'),
      'field types' => array(
        'asin',
      ),
    ),
    'asin_details' => array(
      'label' => t('Thumbnail with details'),
      'field types' => array(
        'asin',
      ),
    ),
    'asin_details_gallery' => array(
      'label' => t('Gallery with details'),
      'field types' => array(
        'asin',
      ),
    ),
    'asin_thumbnail' => array(
      'label' => t('Thumbnail image'),
      'field types' => array(
        'asin',
      ),
    ),
    'asin_thumbnail_gallery' => array(
      'label' => t('Thumbnail Gallery Image(s)'),
      'field types' => array(
        'asin',
      ),
    ),
    'asin_medium' => array(
      'label' => t('Medium image'),
      'field types' => array(
        'asin',
      ),
    ),
    'asin_medium_gallery' => array(
      'label' => t('Medium Gallery Image(s)'),
      'field types' => array(
        'asin',
      ),
    ),
    'asin_large' => array(
      'label' => t('Large image'),
      'field types' => array(
        'asin',
      ),
    ),
    'asin_large_gallery' => array(
      'label' => t('Large Gallery Image(s)'),
      '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',
      ),
    ),
  );
}