You are here

function amazon_media_theme in Amazon Product Advertisement API 7

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

Implements hook_theme().

File

amazon_media/amazon_media.module, line 12
Provides additional behaviors and data type for amazon items which are DVDs, software, video games, music, etc.

Code

function amazon_media_theme() {
  $templates = array(
    'amazon_inline_item__dvd' => array(
      'variables' => array(
        'item' => array(),
      ),
    ),
    'amazon_inline_item__software' => array(
      'variables' => array(
        'item' => array(),
      ),
    ),
    'amazon_inline_item__games' => array(
      'variables' => array(
        'item' => array(),
      ),
    ),
    'amazon_inline_item__console_video_games' => array(
      'variables' => array(
        'item' => array(),
      ),
      'function' => 'theme_amazon_inline_item__games',
    ),
    'amazon_item__book__details' => array(
      'variables' => array(
        'item' => array(),
      ),
      'template' => 'amazon-item--book--details',
    ),
    'amazon_item__dvd__details' => array(
      'variables' => array(
        'item' => array(),
      ),
      'template' => 'amazon-item--dvd--details',
    ),
    'amazon_item__software__details' => array(
      'variables' => array(
        'item' => array(),
      ),
      'template' => 'amazon-item--software--details',
    ),
    'amazon_item__games__details' => array(
      'variables' => array(
        'item' => array(),
      ),
      'template' => 'amazon-item--games--details',
    ),
  );
  return $templates;
}