You are here

public function farm_area_handler_field_links::construct in farmOS 7

Construct a new field handler.

Overrides views_handler_field::construct

File

modules/farm/farm_area/views/handlers/farm_area_handler_field_links.inc, line 16
Field handler to present farm area links.

Class

farm_area_handler_field_links
Field handler to present farm area links.

Code

public function construct() {

  // Inherit the parent's construction.
  parent::construct();

  // Add the term id as an additional field to load to ensure that it is
  // available in this handler.
  $this->additional_fields['tid'] = 'tid';
}