function views_handler_field_user_roles::construct in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 6.2 modules/user/views_handler_field_user_roles.inc \views_handler_field_user_roles::construct()
- 7.3 modules/user/views_handler_field_user_roles.inc \views_handler_field_user_roles::construct()
Construct a new field handler.
Overrides views_handler_field::construct
File
- modules/
user/ views_handler_field_user_roles.inc, line 8
Class
- views_handler_field_user_roles
- Field handler to provide a list of roles.
Code
function construct() {
parent::construct();
$this->additional_fields['uid'] = array(
'table' => 'users',
'field' => 'uid',
);
}