function views_handler_field_variable_value::construct in Variable 7.2
Same name and namespace in other branches
- 7 variable_views/includes/views_handler_field_variable_value.inc \views_handler_field_variable_value::construct()
Construct a new field handler.
Overrides views_handler_field::construct
File
- variable_views/
includes/ views_handler_field_variable_value.inc, line 8
Class
- views_handler_field_variable_value
- A handler to display data from variable_values
Code
function construct() {
parent::construct();
// Be explicit about the table we are using.
$this->additional_fields['name'] = array(
'table' => 'variable',
'field' => 'name',
);
}