You are here

function commerce_payment_handler_area_totals::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_area::init

File

modules/payment/includes/views/handlers/commerce_payment_handler_area_totals.inc, line 8

Class

commerce_payment_handler_area_totals
Defines a handler area that provides payment totals, the order balance, and a form to add new payments.

Code

function init(&$view, &$options) {
  parent::init($view, $options);
  $this->additional_fields['amount'] = 'amount';
  $this->additional_fields['currency_code'] = 'currency_code';
  $this->additional_fields['status'] = 'status';
}