function uc_attribute_theme in Ubercart 8.4
Same name and namespace in other branches
- 6.2 uc_attribute/uc_attribute.module \uc_attribute_theme()
- 7.3 uc_attribute/uc_attribute.module \uc_attribute_theme()
Implements hook_theme().
File
- uc_attribute/
uc_attribute.module, line 63 - Ubercart Attribute module.
Code
function uc_attribute_theme() {
return [
'uc_attribute_option' => [
'variables' => [
'option' => '',
'price' => '',
],
'template' => 'uc-attribute-option',
],
'uc_product_attributes' => [
'render element' => 'attributes',
'file' => 'uc_attribute.theme.inc',
'function' => 'theme_uc_product_attributes',
],
];
}