You are here

public function ExposedChartType::query in Charts 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Plugin/views/field/ExposedChartType.php \Drupal\charts\Plugin\views\field\ExposedChartType::query()
  2. 8.3 src/Plugin/views/field/ExposedChartType.php \Drupal\charts\Plugin\views\field\ExposedChartType::query()

Called to add the field to a query.

Overrides FieldPluginBase::query

File

src/Plugin/views/field/ExposedChartType.php, line 108

Class

ExposedChartType
Provides a Views handler that exposes a Chart Type field.

Namespace

Drupal\charts\Plugin\views\field

Code

public function query() {

  // This is not a real field and it does not affect the query. But Views
  // won't render if the query() method is not present. This doesn't do
  // anything, but it has to be here. This function is a void so it doesn't
  // return anything.
}