function commerce_payment_handler_field_balance::init in Commerce Core 7
Init the handler with necessary data.
Parameters
view $view: The $view object this handler is attached to.
array $options: The item from the database; the actual contents of this will vary based upon the type of handler.
Overrides views_handler_field::init
File
- modules/
payment/ includes/ views/ handlers/ commerce_payment_handler_field_balance.inc, line 7
Class
- commerce_payment_handler_field_balance
- Field handler to be able to show the balance order with currency.
Code
function init(&$view, &$options) {
parent::init($view, $options);
$this->additional_fields['order_id'] = 'order_id';
}