public function commerce_discount_handler_field_operations_dropbutton::construct in Commerce Discount 7
Construct a new field handler.
Overrides views_handler_field::construct
File
- includes/
views/ handlers/ commerce_discount_handler_field_operations_dropbutton.inc, line 16 - Provides a field handler for the Views module.
Class
- commerce_discount_handler_field_operations_dropbutton
- Field handler to show commerce discount operations in dropbutton.
Code
public function construct() {
parent::construct();
$this->additional_fields['discount_id'] = 'discount_id';
// Set real_field in order to make it generate a field_alias.
$this->real_field = 'discount_id';
}