1 views_handler_field.inc views_handler_field::construct()

Construct a new field handler.

Overrides views_object::construct

File

core/modules/views/handlers/views_handler_field.inc, line 65
@todo.

Class

views_handler_field
Base field handler that has no options and renders an unformatted field.

Code

function construct() {
  parent::construct();

  $this->additional_fields = array();
  if (!empty($this->definition['additional fields'])) {
    $this->additional_fields = $this->definition['additional fields'];
  }

  if (!isset($this->options['exclude'])) {
    $this->options['exclude'] = '';
  }
}