You are here

public function QueryPluginBase::alter in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/query/QueryPluginBase.php \Drupal\views\Plugin\views\query\QueryPluginBase::alter()

Let modules modify the query just prior to finalizing it.

Parameters

view $view: The view which is executed.

1 method overrides QueryPluginBase::alter()
Sql::alter in core/modules/views/src/Plugin/views/query/Sql.php
Let modules modify the query just prior to finalizing it.

File

core/modules/views/src/Plugin/views/query/QueryPluginBase.php, line 65

Class

QueryPluginBase
Base plugin class for Views queries.

Namespace

Drupal\views\Plugin\views\query

Code

public function alter(ViewExecutable $view) {
}