You are here

function template_preprocess_uc_cart_complete_sale in Ubercart 8.4

Prepares variables for the checkout completion template.

Default template: uc-cart-complete-sale.html.twig.

File

uc_cart/uc_cart.module, line 146
Handles all things concerning Ubercart's shopping cart.

Code

function template_preprocess_uc_cart_complete_sale(&$variables) {
  $variables['front_page'] = Url::fromRoute('<front>');
}