function views_handler_field_last_comment_timestamp::construct in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 6.2 modules/comment/views_handler_field_last_comment_timestamp.inc \views_handler_field_last_comment_timestamp::construct()
- 7.3 modules/comment/views_handler_field_last_comment_timestamp.inc \views_handler_field_last_comment_timestamp::construct()
Construct a new field handler.
Overrides views_handler_field::construct
File
- modules/
comment/ views_handler_field_last_comment_timestamp.inc, line 9
Class
- views_handler_field_last_comment_timestamp
- Field handler to display the timestamp of a comment with the count of comments.
Code
function construct() {
parent::construct();
$this->additional_fields['comment_count'] = 'comment_count';
}