You are here

function commerce_coupon_delete_multiple in Commerce Coupon 7.2

Same name and namespace in other branches
  1. 7 commerce_coupon.module \commerce_coupon_delete_multiple()

Delete multiple coupons.

Parameters

array $coupon_ids: An array of coupon IDs.

1 call to commerce_coupon_delete_multiple()
commerce_coupon_delete in ./commerce_coupon.module
Deletes a coupon.

File

./commerce_coupon.module, line 980
Provides coupon functionality for Drupal Commerce.

Code

function commerce_coupon_delete_multiple(array $coupon_ids) {
  return entity_get_controller('commerce_coupon')
    ->delete($coupon_ids);
}