You are here

function google_analytics_reports_handler_field::query in Google Analytics Reports 7.3

Called to add the field to a query.

Overrides views_handler_field::query

File

handlers/google_analytics_reports_handler_field.inc, line 33
Definition of google_analytics_reports_handler_field.

Class

google_analytics_reports_handler_field
Provides base field functionality for Google Analytics fields.

Code

function query() {
  if ($this->is_custom) {
    $this->real_field = google_analytics_reports_custom_to_variable_field($this->real_field, $this->options['custom_field_number']);
  }
  parent::query();
}