You are here

function views_term_path_handler_field_path::construct in Views Term Path 7

Construct a new field handler.

Overrides views_handler_field::construct

File

./views_term_path_handler_field_path.inc, line 20
Handler for term path field.

Class

views_term_path_handler_field_path
Field handler to present the path to the term.

Code

function construct() {
  parent::construct();
  $this->additional_fields['tid'] = 'tid';
  $this->additional_fields['vid'] = 'vid';
  $this->additional_fields['vocabulary_machine_name'] = array(
    'table' => 'taxonomy_vocabulary',
    'field' => 'machine_name',
  );
}