function commerce_product_handler_field_product_link::construct in Commerce Core 7
Construct a new field handler.
Overrides views_handler_field::construct
2 calls to commerce_product_handler_field_product_link::construct()
- commerce_product_handler_field_product_link_delete::construct in modules/
product/ includes/ views/ handlers/ commerce_product_handler_field_product_link_delete.inc - Construct a new field handler.
- commerce_product_handler_field_product_link_edit::construct in modules/
product/ includes/ views/ handlers/ commerce_product_handler_field_product_link_edit.inc - Construct a new field handler.
2 methods override commerce_product_handler_field_product_link::construct()
- commerce_product_handler_field_product_link_delete::construct in modules/
product/ includes/ views/ handlers/ commerce_product_handler_field_product_link_delete.inc - Construct a new field handler.
- commerce_product_handler_field_product_link_edit::construct in modules/
product/ includes/ views/ handlers/ commerce_product_handler_field_product_link_edit.inc - Construct a new field handler.
File
- modules/
product/ includes/ views/ handlers/ commerce_product_handler_field_product_link.inc, line 7
Class
- commerce_product_handler_field_product_link
- Field handler to present a link to a product.
Code
function construct() {
parent::construct();
$this->additional_fields['product_id'] = 'product_id';
}