function commerce_coupon_delete_multiple in Commerce Coupon 7
Same name and namespace in other branches
- 7.2 commerce_coupon.module \commerce_coupon_delete_multiple()
Delete multiple coupons.
Parameters
$commerce_coupon_ids: An array of coupon IDs.
2 calls to commerce_coupon_delete_multiple()
- commerce_coupon_commerce_coupon_type_delete in ./
commerce_coupon.module - Implements hook_commerce_coupon_type_delete().
- commerce_coupon_delete in ./
commerce_coupon.module - Deletes a coupon.
File
- ./
commerce_coupon.module, line 725 - Coupon System for Drupal Commerce.
Code
function commerce_coupon_delete_multiple(array $commerce_coupon_ids) {
return entity_get_controller('commerce_coupon')
->delete($commerce_coupon_ids);
}