function uc_wishlist_rules_condition_info in UC Wish List 8
Same name and namespace in other branches
- 7 uc_wishlist.rules.inc \uc_wishlist_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'] = [
'label' => t('Check if an order has wishlist product'),
'group' => t('Order'),
'base' => 'uc_wishlist_condition_product_wishlist',
'parameter' => [
'order' => [
'type' => 'uc_order',
'label' => t('Order'),
],
],
];
return $conditions;
}