You are here

function views_handler_field_amazon_image::option_definition in Amazon Product Advertisement API 6

Same name and namespace in other branches
  1. 7.2 includes/views_handler_field_amazon_image.inc \views_handler_field_amazon_image::option_definition()
  2. 7 includes/views_handler_field_amazon_image.inc \views_handler_field_amazon_image::option_definition()

File

includes/views_handler_field_amazon_image.inc, line 13
Provide views handler so that Amazon Image can be displayed in the various ways that are available.

Class

views_handler_field_amazon_image
@file Provide views handler so that Amazon Image can be displayed in the various ways that are available.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['image_size'] = array(
    'default' => 'smallimage',
  );
  $options['link_format'] = array(
    'default' => 'amazon',
  );
  $options['presentation_format'] = array(
    'default' => 'markup',
  );
  return $options;
}