function hook_commerce_coupon_type_info in Commerce Coupon 7.2
Define coupon types.
1 function implements hook_commerce_coupon_type_info()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
1 invocation of hook_commerce_coupon_type_info()
- commerce_coupon_get_types in ./
commerce_coupon.module - Gets a list of all coupon types by invoking a hook.
File
- ./
commerce_coupon.api.php, line 10
Code
function hook_commerce_coupon_type_info() {
$types['example_coupon_type'] = array(
'label' => t('Example coupon type'),
);
return $types;
}