function theme_commerce_wishlist_already_in_wishlist_link in Commerce Wishlist 7.2
Same name and namespace in other branches
- 7.3 commerce_wishlist.module \theme_commerce_wishlist_already_in_wishlist_link()
Theme callback for outputting the link if a product is already in user's wishlist.
2 theme calls to theme_commerce_wishlist_already_in_wishlist_link()
- commerce_wishlist_form_alter in ./
commerce_wishlist.module - Implements hook_form_alter().
- commerce_wishlist_operations in ./
commerce_wishlist.module - Menu callback: Perform various actions (add to wishlist etc).
File
- ./
commerce_wishlist.module, line 316 - Provides the wishlist for use in Drupal Commerce.
Code
function theme_commerce_wishlist_already_in_wishlist_link(&$variables) {
return t('Already in <a class="in-wishlist" href="@url">your wishlist</a>.', array(
'@url' => url('user/' . $variables['user_id'] . '/wishlist'),
));
}