You are here

function theme_uc_cart_block_title_icon in Ubercart 7.3

Same name and namespace in other branches
  1. 6.2 uc_cart/uc_cart.module \theme_uc_cart_block_title_icon()

Themes the shopping cart icon.

Parameters

$variables: An associative array containing:

  • icon_class: Class to use for the cart icon image, either cart-full or cart-empty.
1 theme call to theme_uc_cart_block_title_icon()
theme_uc_cart_block_title in uc_cart/uc_cart.theme.inc
Themes the shopping cart block title.

File

uc_cart/uc_cart.theme.inc, line 68
Theme functions for the uc_cart module.

Code

function theme_uc_cart_block_title_icon($variables) {
  $icon_class = $variables['icon_class'];
  return l('<span class="' . $icon_class . '" title="' . t('View your shopping cart.') . '"></span>', 'cart', array(
    'html' => TRUE,
  ));
}