function commerce_cart_handler_field_edit_attributes::construct in Commerce Core 7
Overrides views_handler_field::construct().
Overrides views_handler_field::construct
File
- modules/
cart/ includes/ views/ handlers/ commerce_cart_handler_field_edit_attributes.inc, line 14 - Field handler to render attribute widgets to select a different product for the line item.
Class
- commerce_cart_handler_field_edit_attributes
- @file Field handler to render attribute widgets to select a different product for the line item.
Code
function construct() {
parent::construct();
$this->additional_fields['line_item_id'] = 'line_item_id';
// Set real_field in order to make it generate a field_alias.
$this->real_field = 'line_item_id';
}