Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ViewUI.php

function ViewUI::endQueryCapture

Add the list of queries run during render to build info.

See also

ViewUI::startQueryCapture()

1 call to ViewUI::endQueryCapture()
ViewUI::renderPreview in core/modules/views_ui/src/ViewUI.php

File

core/modules/views_ui/src/ViewUI.php, line 521

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function endQueryCapture() {
    $queries = Database::getLog('views');
    $this->additionalQueries = $queries;
}
RSS feed
Powered by Drupal