You are here

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

Same name and namespace in other branches
  1. 6.3 modules/comment/views_handler_field_last_comment_timestamp.inc \views_handler_field_last_comment_timestamp::construct()
  2. 6.2 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 18
Definition of views_handler_field_last_comment_timestamp.

Class

views_handler_field_last_comment_timestamp
Field handler to display the timestamp of a comment with the comments count.

Code

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