You are here

function amazon_theme in Amazon Product Advertisement API 8.2

Same name and namespace in other branches
  1. 6 amazon.module \amazon_theme()
  2. 7.2 amazon.module \amazon_theme()
  3. 7 amazon.module \amazon_theme()

Implements hook_theme().

File

./amazon.module, line 11
Provides the easy integration of the Amazon Product Advertising API.

Code

function amazon_theme($existing, $type, $theme, $path) {
  return [
    'amazon_inline' => [
      'variables' => [
        'results' => NULL,
        'bundle' => '',
        'field' => '',
      ],
    ],
    'amazon_image' => [
      'variables' => [
        'results' => NULL,
        'size' => '',
      ],
    ],
  ];
}