function price_difference_formatter_theme in Price Difference Formatter 8
Implements hook_theme().
File
- ./
price_difference_formatter.module, line 6
Code
function price_difference_formatter_theme($existing, $type, $theme, $path) {
return [
'price_difference_formatter' => [
'variables' => [
'original_price' => NULL,
'final_price' => NULL,
'discount_percentage' => NULL,
'discount_currency' => NULL,
'adjustments' => NULL,
],
],
];
}