You are here

function commerce_coupon_enable in Commerce Coupon 7

Same name and namespace in other branches
  1. 7.2 commerce_coupon.install \commerce_coupon_enable()

Implements hook_enable().

File

./commerce_coupon.module, line 997
Coupon System for Drupal Commerce.

Code

function commerce_coupon_enable() {

  // Add the coupon reference field to the order.
  commerce_coupon_order_configuration();
}