function amazon_theme in Amazon Product Advertisement API 8.2
Same name and namespace in other branches
- 6 amazon.module \amazon_theme()
- 7.2 amazon.module \amazon_theme()
- 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' => '',
],
],
];
}