Skip navigation
Help

hook_uc_cart_item_delete

7 uc_cart.api.php hook_uc_cart_item_delete($entity)

Act on cart item entities when deleted.

Parameters

$entity: The cart item entity object.

Related topics

1 function implements hook_uc_cart_item_delete()

File

ubercart/uc_cart/uc_cart.api.php, line 184
Hooks provided by the Cart module.

Code

function hook_uc_cart_item_delete($entity) {
  drupal_set_message(t('An item was deleted from your cart'));
}