Skip navigation
Help

theme_uc_cart_block_title_icon

6 uc_cart.module theme_uc_cart_block_title_icon($icon_class)
7 uc_cart.theme.inc theme_uc_cart_block_title_icon($variables)

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.

Related topics

1 theme call to theme_uc_cart_block_title_icon()

File

ubercart/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));
}