You are here

function taxonomy_term_depth_handler_field_taxonomy::construct in Taxonomy Term Depth 7

Constructor to provide additional field to add.

This constructer assumes the taxonomy_term_data table. If using another table, we'll need to be more specific.

Overrides views_handler_field_taxonomy::construct

File

includes/taxonomy_term_depth_handler_field_taxonomy.inc, line 16
Field handler to provide the parents of field value terms.

Class

taxonomy_term_depth_handler_field_taxonomy
@file Field handler to provide the parents of field value terms.

Code

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