You are here

function amazon_component_theme in Amazon Product Advertisement API 7.2

Implements hook_theme().

File

amazon_component/amazon_component.module, line 111

Code

function amazon_component_theme() {
  return array(
    'amazon_gallery' => array(
      'variables' => array(
        'results' => NULL,
      ),
      'template' => 'amazon_component_gallery',
      //'preprocess functions' => array('amazon_component_theme_gallery'),
      'path' => drupal_get_path('module', 'amazon_component') . '/templates',
    ),
    'amazon_component_cart' => array(
      'variables' => array(
        'cart' => NULL,
      ),
      'template' => 'amazon_component_cart',
      'path' => drupal_get_path('module', 'amazon_component') . '/templates',
    ),
    'amazon_component_add_to_cart' => array(
      'variables' => array(
        'cart' => NULL,
      ),
      'template' => 'amazon_component_add_to_cart',
      'path' => drupal_get_path('module', 'amazon_component') . '/templates',
    ),
    'amazon_component_reviews' => array(
      'variables' => array(
        'cart' => NULL,
      ),
      'template' => 'amazon_component_reviews',
      'path' => drupal_get_path('module', 'amazon_component') . '/templates',
    ),
  );
}