1 views_handler_field_user_roles.inc views_handler_field_user_roles::query()

Called to add the field to a query.

Overrides views_handler_field::query

File

core/modules/user/views/views_handler_field_user_roles.inc, line 19
Definition of views_handler_field_user_roles.

Class

views_handler_field_user_roles
Field handler to provide a list of roles.

Code

function query() {
  $this->add_additional_fields();
  $this->field_alias = $this->aliases['uid'];
}