public function views_handler_field_user_roles::query in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 modules/user/views_handler_field_user_roles.inc \views_handler_field_user_roles::query()
- 6.2 modules/user/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
- modules/
user/ views_handler_field_user_roles.inc, line 48 - Definition of views_handler_field_user_roles.
Class
- views_handler_field_user_roles
- Field handler to provide a list of roles.
Code
public function query() {
$this
->add_additional_fields();
$this->field_alias = $this->aliases['uid'];
}