You are here

function flag_lists_handler_field_template::construct in Flag Lists 7.3

Same name and namespace in other branches
  1. 6 includes/flag_lists_handler_field_template.inc \flag_lists_handler_field_template::construct()
  2. 7 includes/flag_lists_handler_field_template.inc \flag_lists_handler_field_template::construct()

Constructor to provide additional field to add.

Overrides views_handler_field::construct

File

includes/flag_lists_handler_field_template.inc, line 15
Contains the basic 'list template' field handler.

Class

flag_lists_handler_field_template
Field handler to provide simple renderer that allows linking to a list's template flag.

Code

function construct() {
  parent::construct();
  $this->additional_fields['name'] = array(
    'table' => 'flag',
    'field' => 'name',
  );
}