function views_handler_field_user_roles::construct

Overrides views_handler_field::construct

File

modules/user/views_handler_field_user_roles.inc, line 18

Class

views_handler_field_user_roles
Field handler to provide a list of roles.

Code

public function construct() {
    parent::construct();
    $this->additional_fields['uid'] = array(
        'table' => 'users',
        'field' => 'uid',
    );
}