function views_handler_field_privatemsg_link::construct in Privatemsg 7
Same name and namespace in other branches
- 6.2 views/views_handler_field_privatemsg_link.inc \views_handler_field_privatemsg_link::construct()
- 6 views/views_handler_field_privatemsg_link.inc \views_handler_field_privatemsg_link::construct()
- 7.2 views/views_handler_field_privatemsg_link.inc \views_handler_field_privatemsg_link::construct()
Add uid as a additional field.
Overrides views_handler_field::construct
File
- views/
views_handler_field_privatemsg_link.inc, line 16 - Contains the privatemsg link views field handler.
Class
- views_handler_field_privatemsg_link
- Provides a configurable link to the new message form for a specific user.
Code
function construct() {
parent::construct();
$this->additional_fields['uid'] = 'uid';
}