You are here

function theme_commerce_wishlist_added_to_wishlist_link in Commerce Wishlist 7.3

Added to cart link theme callback.

1 theme call to theme_commerce_wishlist_added_to_wishlist_link()
commerce_wishlist_product_add_ajax in ./commerce_wishlist.module
Page callback: Ajax product add.

File

./commerce_wishlist.module, line 524
Provides a wish list for use in Drupal Commerce.

Code

function theme_commerce_wishlist_added_to_wishlist_link(&$variables) {
  return t('Added to <a class="in-wishlist" href="@url">your wish list</a>.', array(
    '@title' => $variables['product']->title,
    '@url' => url('user/' . $variables['user_id'] . '/wishlist'),
  ));
}