function views_handler_field_user::init

Override init function to provide generic option to link to user.

Overrides views_handler_field::init

File

modules/user/views_handler_field_user.inc, line 18

Class

views_handler_field_user
Field handler to provide simple renderer that allows linking to a user.

Code

public function init(&$view, &$data) {
    parent::init($view, $data);
    $this->additional_fields['uid'] = 'uid';
}