function commerce_cart_theme in Commerce Core 7
Same name and namespace in other branches
- 8.2 modules/cart/commerce_cart.module \commerce_cart_theme()
Implements hook_theme().
File
- modules/cart/ commerce_cart.module, line 590 
- Implements the shopping cart system and add to cart features.
Code
function commerce_cart_theme() {
  return array(
    'commerce_cart_empty_block' => array(
      'variables' => array(),
    ),
    'commerce_cart_empty_page' => array(
      'variables' => array(),
    ),
    'commerce_cart_block' => array(
      'variables' => array(
        'order' => NULL,
        'contents_view' => NULL,
      ),
      'path' => drupal_get_path('module', 'commerce_cart') . '/theme',
      'template' => 'commerce-cart-block',
    ),
  );
}