function views_handler_field_user_roles::construct

Same name in other branches
  1. 6.x-3.x modules/user/views_handler_field_user_roles.inc \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',
    );
}