You are here

function commerce_wishlist_handler_field_product_link_remove::construct in Commerce Wishlist 7.2

Construct a new field handler.

Overrides views_handler_field::construct

File

includes/views/handlers/commerce_wishlist_handler_field_product_link_remove.inc, line 7

Class

commerce_wishlist_handler_field_product_link_remove
Field handler to present a link to remove a product for wishlist.

Code

function construct() {
  parent::construct();
  $this->additional_fields['uid'] = array(
    'table' => 'commerce_wishlist',
    'field' => 'uid',
  );
  $this->additional_fields['item_id'] = 'item_id';
}