public function views_handler_field_views_watchdog_message::init in Views Watchdog 7.4
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/
views_handler_field_views_watchdog_message.inc, line 35 - Definition of views_handler_field_views_watchdog_message.
Class
- views_handler_field_views_watchdog_message
- Field handler to display the message of a log entry.
Code
public function init(&$view, &$options) {
parent::init($view, $options);
if ($this->options['replace_variables']) {
$this->additional_fields['variables'] = 'variables';
}
}