function hook_uc_cart_item_update in Ubercart 7.3
Same name and namespace in other branches
- 8.4 uc_cart/uc_cart.api.php \hook_uc_cart_item_update()
Act on cart item entities when updated.
Parameters
$entity: The cart item entity object.
1 function implements hook_uc_cart_item_update()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- uc_cart_entity_test_uc_cart_item_update in uc_cart/
tests/ uc_cart_entity_test.module - Implements hook_uc_cart_item_update().
File
- uc_cart/
uc_cart.api.php, line 173 - Hooks provided by the Cart module.
Code
function hook_uc_cart_item_update($entity) {
drupal_set_message(t('An item was updated in your cart'));
}