You are here

function views_handler_field_variable::construct in Views Variable Field 7

Constructs a new field handler.

Overrides views_handler_field::construct

File

includes/views/views_handler_field_variable.inc, line 32
Definition of views_handler_field_variable.

Class

views_handler_field_variable
A handler to provide a field that display system variables.

Code

function construct() {
  parent::construct();
  $this->function = module_exists('variable') ? 'variable_get_value' : 'variable_get';
}