1 views_handler_field.inc views_handler_field::query()

Called to add the field to a query.

File

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

Class

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

Code

function query() {
  $this->ensure_my_table();
  // Add the field.
  $params = $this->options['group_type'] != 'group' ? array('function' => $this->options['group_type']) : array();
  $this->field_alias = $this->query->add_field($this->table_alias, $this->real_field, NULL, $params);

  $this->add_additional_fields();
}