price_difference_formatter.module in Price Difference Formatter 8
File
price_difference_formatter.moduleView source
<?php
/**
* Implements hook_theme().
*/
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,
],
],
];
}
Functions
Name | Description |
---|---|
price_difference_formatter_theme | Implements hook_theme(). |