function QueryPluginBase::query

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

Generate a query and a countquery from all of the information supplied.

Parameters

$get_count: Provide a countquery if this is true, otherwise provide a normal query.

Overrides PluginBase::query

1 method overrides QueryPluginBase::query()
Sql::query in core/modules/views/src/Plugin/views/query/Sql.php
Generates a query and a countquery from all of the information supplied.

File

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

Class

QueryPluginBase
Base plugin class for Views queries.

Namespace

Drupal\views\Plugin\views\query

Code

public function query($get_count = FALSE) {
}

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