function commerce_product_theme in Commerce Core 8.2
Same name and namespace in other branches
- 7 modules/product/commerce_product.module \commerce_product_theme()
Implements hook_theme().
File
- modules/
product/ commerce_product.module, line 80 - Defines the Product entity and associated features.
Code
function commerce_product_theme() {
return [
'commerce_product_form' => [
'render element' => 'form',
],
'commerce_product' => [
'render element' => 'elements',
],
'commerce_product_variation' => [
'render element' => 'elements',
],
'commerce_product_attribute_value' => [
'render element' => 'elements',
],
];
}