You are here

function commerce_wishlist_rules_action_info in Commerce Wishlist 7.2

Same name and namespace in other branches
  1. 7.3 commerce_wishlist.rules.inc \commerce_wishlist_rules_action_info()

Implements hook_rules_action_info().

File

./commerce_wishlist.rules.inc, line 99
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'),
        ),
      ),
    ),
  );
}