function commerce_wishlist_rules_action_info in Commerce Wishlist 7.3
Same name and namespace in other branches
- 7.2 commerce_wishlist.rules.inc \commerce_wishlist_rules_action_info()
Implements hook_rules_action_info().
File
- ./
commerce_wishlist.rules.inc, line 87 - Implementation of rules hooks and actions.
Code
function commerce_wishlist_rules_action_info() {
return array(
'commerce_wishlist_action_remove_product_for_user' => array(
'label' => t('Remove product from wishlist'),
'group' => t('Commerce Wishlist'),
'parameter' => array(
'product' => array(
'type' => 'commerce_product',
'label' => t('Product'),
),
'account' => array(
'type' => 'user',
'label' => t('User'),
),
),
),
);
}