You are here

function pm_handler_field_operation::construct in Drupal PM (Project Management) 7

Adds fields to view.

Overrides views_handler_field::construct

File

./pm_handler_field_operation.inc, line 10
Field handler to present a link node edit.

Class

pm_handler_field_operation
@file Field handler to present a link node edit.

Code

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