You are here

function basic_cart_theme in Basic cart 8

Same name and namespace in other branches
  1. 8.6 basic_cart.module \basic_cart_theme()
  2. 8.0 basic_cart.module \basic_cart_theme()
  3. 8.2 basic_cart.module \basic_cart_theme()
  4. 8.3 basic_cart.module \basic_cart_theme()
  5. 8.4 basic_cart.module \basic_cart_theme()
  6. 8.5 basic_cart.module \basic_cart_theme()
  7. 7.3 basic_cart.module \basic_cart_theme()
  8. 7 basic_cart.module \basic_cart_theme()
  9. 7.2 basic_cart.module \basic_cart_theme()

File

./basic_cart.module, line 18

Code

function basic_cart_theme($existing, $type, $theme, $path) {
  return array(
    'basic_cart_cart_template' => array(
      'variables' => array(
        'basic_cart' => NULL,
      ),
    ),
    'total_price_markup' => array(
      'variables' => array(
        'price' => NULL,
      ),
    ),
    'cart_form' => array(
      'render element' => 'form',
    ),
    'basic_cart_quantity_prefix' => array(
      'variables' => array(
        'basic_cart' => NULL,
      ),
    ),
    'basic_cart_quantity_suffix' => array(
      'variables' => array(
        'basic_cart' => NULL,
      ),
    ),
    'basic_cart_thank_you' => array(
      'variables' => array(
        'basic_cart' => NULL,
      ),
    ),
  );
}