function commerce_order_theme_registry_alter in Commerce Core 8.2
Implements hook_theme_registry_alter().
File
- modules/
order/ commerce_order.module, line 431 - Defines the Order entity and associated features.
Code
function commerce_order_theme_registry_alter(&$theme_registry) {
$theme_registry['commerce_price_calculated']['variables'] += [
'result' => NULL,
'base_price' => NULL,
'adjustments' => [],
];
}