You are here

function views_calc_field_handler::construct in Views Calc 7

Same name and namespace in other branches
  1. 6.3 views_calc_field_handler.inc \views_calc_field_handler::construct()
  2. 6 views_calc_field_handler.inc \views_calc_field_handler::construct()

Constructor to provide additional field to add.

Overrides views_handler_field::construct

File

./views_calc_field_handler.inc, line 14
Copied from the basic 'node' field handler.

Class

views_calc_field_handler
Field handler to provide simple renderer that allows linking to a node.

Code

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