You are here

function uc_wishlist_rules_condition_info in UC Wish List 7

Same name and namespace in other branches
  1. 8 uc_wishlist.rules.inc \uc_wishlist_rules_condition_info()

Implements hook_rules_condition_info().

File

./uc_wishlist.rules.inc, line 11
This file contains the rule condition for the wishlist

Code

function uc_wishlist_rules_condition_info() {
  $conditions['uc_wishlist_condition_product_wishlist'] = array(
    'label' => t('Check if an order has wishlist product'),
    'group' => t('Order'),
    'base' => 'uc_wishlist_condition_product_wishlist',
    'parameter' => array(
      'order' => array(
        'type' => 'uc_order',
        'label' => t('Order'),
      ),
    ),
  );
  return $conditions;
}