You are here

function uc_payment_theme in Ubercart 8.4

Same name and namespace in other branches
  1. 6.2 payment/uc_payment/uc_payment.module \uc_payment_theme()
  2. 7.3 payment/uc_payment/uc_payment.module \uc_payment_theme()

Implements hook_theme().

File

payment/uc_payment/uc_payment.module, line 28
Defines the payment API that lets payment modules interact with Ubercart.

Code

function uc_payment_theme() {
  return [
    'uc_payment_totals' => [
      'variables' => [
        'order' => NULL,
      ],
      'template' => 'uc-payment-totals',
    ],
  ];
}