function commerce_payment_handler_field_message::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_message.inc, line 7
Class
- commerce_payment_handler_field_message
- Field handler to display a transaction message with variable replacement.
Code
function init(&$view, &$options) {
parent::init($view, $options);
$this->additional_fields['message_variables'] = 'message_variables';
}