You are here

function commerce_coupon_handler_field_coupon_granted_amount::construct in Commerce Coupon 7

Construct a new field handler.

Overrides views_handler_field::construct

File

includes/views/handlers/commerce_coupon_handler_field_coupon_granted_amount.inc, line 9
Displays the granted amount of a coupon based in each coupon type conditions.

Class

commerce_coupon_handler_field_coupon_granted_amount
@file Displays the granted amount of a coupon based in each coupon type conditions.

Code

function construct() {
  parent::construct();
  $this->additional_fields['coupon_id'] = 'coupon_id';
}