function Log::getDebugBacktrace
Same name in other branches
- 10 core/lib/Drupal/Core/Database/Log.php \Drupal\Core\Database\Log::getDebugBacktrace()
Gets the debug backtrace.
Wraps the debug_backtrace function to allow mocking results in PHPUnit tests.
Return value
array[] The debug backtrace.
1 call to Log::getDebugBacktrace()
- Log::findCaller in core/
lib/ Drupal/ Core/ Database/ Log.php - Determine the routine that called this query.
File
-
core/
lib/ Drupal/ Core/ Database/ Log.php, line 210
Class
- Log
- Database query logger.
Namespace
Drupal\Core\DatabaseCode
protected function getDebugBacktrace() {
return debug_backtrace();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.