function QueryPluginBase::build

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/query/QueryPluginBase.php \Drupal\views\Plugin\views\query\QueryPluginBase::build()
  2. 8.9.x core/modules/views/src/Plugin/views/query/QueryPluginBase.php \Drupal\views\Plugin\views\query\QueryPluginBase::build()
  3. 10 core/modules/views/src/Plugin/views/query/QueryPluginBase.php \Drupal\views\Plugin\views\query\QueryPluginBase::build()

Builds the necessary info to execute the query.

Parameters

\Drupal\views\ViewExecutable $view: The view which is executed.

2 methods override QueryPluginBase::build()
QueryTest::build in core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php
Implements Drupal\views\Plugin\views\query\QueryPluginBase::build().
Sql::build in core/modules/views/src/Plugin/views/query/Sql.php
Builds the necessary info to execute the query.

File

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

Class

QueryPluginBase
Base plugin class for Views queries.

Namespace

Drupal\views\Plugin\views\query

Code

public function build(ViewExecutable $view) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.