You are here

function simplenews_statistics_handler_subscribers::construct in Simplenews Statistics 7

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

Add some required fields needed on render().

Overrides views_handler_field::construct

File

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

Class

simplenews_statistics_handler_subscribers
Description.

Code

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