function price_theme in Price 8
Same name and namespace in other branches
- 3.x price.module \price_theme()
- 2.0.x price.module \price_theme()
- 2.x price.module \price_theme()
- 3.0.x price.module \price_theme()
Implements hook_theme().
File
- ./
price.module, line 13 - Defines the Currency entity and the Price field.
Code
function price_theme() {
return [
'price_plain' => [
'variables' => [
'number' => 0,
'currency' => NULL,
],
'template' => 'price-plain',
],
];
}