function Log::get
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Database/Log.php \Drupal\Core\Database\Log::get()
- 10 core/lib/Drupal/Core/Database/Log.php \Drupal\Core\Database\Log::get()
- 11.x core/lib/Drupal/Core/Database/Log.php \Drupal\Core\Database\Log::get()
Retrieve the query log for the specified logging key so far.
Parameters
$logging_key: The logging key to fetch.
Return value
array An indexed array of all query records for this logging key.
File
-
core/
lib/ Drupal/ Core/ Database/ Log.php, line 76
Class
- Log
- Database query logger.
Namespace
Drupal\Core\DatabaseCode
public function get($logging_key) {
return $this->queryLog[$logging_key];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.