function basic_cart_theme in Basic cart 7
Same name and namespace in other branches
- 8.6 basic_cart.module \basic_cart_theme()
- 8 basic_cart.module \basic_cart_theme()
- 8.0 basic_cart.module \basic_cart_theme()
- 8.2 basic_cart.module \basic_cart_theme()
- 8.3 basic_cart.module \basic_cart_theme()
- 8.4 basic_cart.module \basic_cart_theme()
- 8.5 basic_cart.module \basic_cart_theme()
- 7.3 basic_cart.module \basic_cart_theme()
- 7.2 basic_cart.module \basic_cart_theme()
Implements hook_theme().
File
- ./
basic_cart.module, line 125 - Basic cart module file.
Code
function basic_cart_theme() {
return array(
'basic_cart_add_to_cart' => array(
'function' => 'basic_cart_add_to_cart_button',
'variables' => array(
'nid' => NULL,
),
),
'basic_cart_cart_flat' => array(
'template' => 'basic_cart_cart_flat',
'variables' => array(
'cart' => NULL,
),
),
'basic_cart_cart_render_block' => array(
'template' => 'basic_cart_cart_render_block',
'variables' => array(
'cart' => NULL,
),
),
'basic_cart_render_cart_element' => array(
'render element' => 'form',
),
);
}