You are here

public function views_handler_field_node_revision_link::construct in Views (for Drupal 7) 7.3

Construct a new field handler.

Overrides views_handler_field::construct

File

modules/node/views_handler_field_node_revision_link.inc, line 18
Definition of views_handler_field_node_revision_link.

Class

views_handler_field_node_revision_link
Field handler to present a link to a node revision.

Code

public function construct() {
  parent::construct();
  $this->additional_fields['node_vid'] = array(
    'table' => 'node_revision',
    'field' => 'vid',
  );
}