You are here

function template_preprocess_uc_cart_block_title in Ubercart 8.4

Prepares variables for the cart block title template.

Default template: uc-cart-block-title.html.twig.

File

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

Code

function template_preprocess_uc_cart_block_title(&$variables) {
  $variables['cart_url'] = Url::fromRoute('uc_cart.cart');
}