You are here

function simplenews_statistics_handler_clicks::construct in Simplenews Statistics 7

Same name and namespace in other branches
  1. 7.2 includes/views/handlers/simplenews_statistics_handler_clicks.inc \simplenews_statistics_handler_clicks::construct()

Add some required fields needed on render().

Overrides views_handler_field::construct

File

includes/views/handlers/simplenews_statistics_handler_clicks.inc, line 15
Definition of simplenews_statistics_handler_clicks.

Class

simplenews_statistics_handler_clicks
Description.

Code

function construct() {
  parent::construct();
  $this->additional_fields['nid'] = array(
    'table' => 'node',
    'field' => 'nid',
  );
}