You are here

public function webform_handler_field_submission_link::construct in Webform 7.4

Same name and namespace in other branches
  1. 6.3 views/webform_handler_field_submission_link.inc \webform_handler_field_submission_link::construct()
  2. 7.3 views/webform_handler_field_submission_link.inc \webform_handler_field_submission_link::construct()

Construct a new field handler.

Overrides views_handler_field::construct

File

views/webform_handler_field_submission_link.inc, line 14

Class

webform_handler_field_submission_link
Views handler to display links to a submission.

Code

public function construct() {

  // We need to set this property before calling the construct() chain
  // as we use it in the option_definintion() call.
  $this->link_type = $this->definition['link_type'];
  parent::construct();
  $this->additional_fields['sid'] = 'sid';
  $this->additional_fields['nid'] = 'nid';
  $this->additional_fields['serial'] = 'serial';
  $this->additional_fields['is_draft'] = 'is_draft';
}