You are here

function tmgmt_handler_field_tmgmt_message_message::init in Translation Management Tool 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

views/handlers/tmgmt_handler_field_tmgmt_message_message.inc, line 10

Class

tmgmt_handler_field_tmgmt_message_message
Field handler which allows to render the job message with replaced variables.

Code

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