function ViewUI::endQueryCapture
Same name in other branches
- 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::endQueryCapture()
- 8.9.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::endQueryCapture()
- 11.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::endQueryCapture()
Add the list of queries run during render to build info.
See also
1 call to ViewUI::endQueryCapture()
- ViewUI::renderPreview in core/
modules/ views_ui/ src/ ViewUI.php
File
-
core/
modules/ views_ui/ src/ ViewUI.php, line 523
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public function endQueryCapture() {
$queries = Database::getLog('views');
$this->additionalQueries = $queries;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.