theme_uc_cart_block_title_icon

  1. drupal
    1. 6 uc_cart.module function
    2. 7 uc_cart.theme.inc function
Drupal 7 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

sites/all/modules/ubercart/uc_cart/uc_cart.theme.inc, line 65
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));
}