You are here

public function views_handler_field_user_picture::construct in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 modules/user/views_handler_field_user_picture.inc \views_handler_field_user_picture::construct()
  2. 6.2 modules/user/views_handler_field_user_picture.inc \views_handler_field_user_picture::construct()

Construct a new field handler.

Overrides views_handler_field::construct

File

modules/user/views_handler_field_user_picture.inc, line 18
Definition of views_handler_field_user_picture.

Class

views_handler_field_user_picture
Field handler for a simple renderer that allows using a themed user link.

Code

public function construct() {
  parent::construct();
  $this->additional_fields['uid'] = 'uid';
  $this->additional_fields['name'] = 'name';
  $this->additional_fields['mail'] = 'mail';
}