function commerce_add_to_cart_link_theme in Commerce Add To Cart Link 8
Same name and namespace in other branches
- 2.x commerce_add_to_cart_link.module \commerce_add_to_cart_link_theme()
Implements hook_theme().
File
- ./
commerce_add_to_cart_link.module, line 51 - Hook implementations of commerce_add_to_cart_link module.
Code
function commerce_add_to_cart_link_theme() {
return [
'commerce_add_to_cart_link' => [
'variables' => [
'url' => NULL,
'product_variation' => NULL,
],
],
];
}