You are here

function views_handler_field_audit_log_roles::construct in Audit Log 7

Construct a new field handler.

Overrides views_handler_field::construct

File

modules/audit_log_db/views/handlers/views_handler_field_audit_log_roles.inc, line 14
Definition of views_handler_field_audit_log_roles.

Class

views_handler_field_audit_log_roles
Field handler to provide a list of roles.

Code

function construct() {
  parent::construct();
  $this->additional_fields['audit_log_id'] = array(
    'table' => 'audit_log',
    'field' => 'id',
  );
}