function QueryPluginBase::addSignature

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

Add a signature to the query, if such a thing is feasible.

This signature is something that can be used when perusing query logs to discern where particular queries might be coming from.

Parameters

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

1 method overrides QueryPluginBase::addSignature()
Sql::addSignature in core/modules/views/src/Plugin/views/query/Sql.php
Add a signature to the query, if such a thing is feasible.

File

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

Class

QueryPluginBase
Base plugin class for Views queries.

Namespace

Drupal\views\Plugin\views\query

Code

public function addSignature(ViewExecutable $view) {
}

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