commerce_product_theme

  1. commerce
    1. 7
Versions
7 commerce_product_theme()

Implements hook_theme().

Code

modules/product/commerce_product.module, line 239

<?php
function commerce_product_theme() {
  return array(
    'commerce_product_sku' => array(
      'variables' => array('sku' => NULL, 'label' => NULL, 'product' => NULL), 
      'path' => drupal_get_path('module', 'commerce_product') . '/theme', 
      'template' => 'commerce-product-sku',
    ), 
    'commerce_product_title' => array(
      'variables' => array(
        'title' => NULL,
        'label' => NULL,
        'product' => NULL,
      ), 
      'path' => drupal_get_path('module', 'commerce_product') . '/theme', 
      'template' => 'commerce-product-title',
    ), 
    'commerce_product_status' => array(
      'variables' => array(
        'status' => NULL,
        'label' => NULL,
        'product' => NULL,
      ), 
      'path' => drupal_get_path('module', 'commerce_product') . '/theme', 
      'template' => 'commerce-product-status',
    ),
  );
}
?>