function views_handler_field_comment_node_link::construct
Same name in other branches
- 7.x-3.x modules/comment/views_handler_field_comment_node_link.inc \views_handler_field_comment_node_link::construct()
Overrides views_handler_field::construct
File
-
modules/
comment/ views_handler_field_comment_node_link.inc, line 8
Class
- views_handler_field_comment_node_link
- Handler for showing comment module's node link.
Code
function construct() {
parent::construct();
// Add the node fields that comment_link will need..
$this->additional_fields['nid'] = array(
'field' => 'nid',
);
$this->additional_fields['type'] = array(
'field' => 'type',
);
$this->additional_fields['comment'] = array(
'field' => 'comment',
);
}