function commerce_recurring_theme in Commerce Recurring Framework 8
Implements hook_theme().
File
- ./
commerce_recurring.module, line 121 - Provides recurring billing for Drupal Commerce.
Code
function commerce_recurring_theme() {
return [
'commerce_subscription_form' => [
'render element' => 'form',
],
'commerce_recurring_payment_declined' => [
'variables' => [
'order_entity' => NULL,
'billing_information' => NULL,
'shipping_information' => NULL,
'payment_method_link' => NULL,
'retry_num' => NULL,
'retry_days' => NULL,
'max_retries' => NULL,
'remaining_retries' => NULL,
'now' => NULL,
'totals' => NULL,
],
],
'commerce_subscription' => [
'render element' => 'elements',
],
];
}