1 views_handler_field_node_new_comments.inc views_handler_field_node_new_comments::query()

Called to add the field to a query.

Overrides views_handler_field::query

File

core/modules/comment/views/views_handler_field_node_new_comments.inc, line 50
Definition of views_handler_field_node_new_comments.

Class

views_handler_field_node_new_comments
Field handler to display the number of new comments.

Code

function query() {
  $this->ensure_my_table();
  $this->add_additional_fields();
  $this->field_alias = $this->table . '_' . $this->field;
}