DbLog::$connection
Same name in other branches
- 9 core/modules/dblog/src/Logger/DbLog.php \Drupal\dblog\Logger\DbLog::connection
- 8.9.x core/modules/dblog/src/Logger/DbLog.php \Drupal\dblog\Logger\DbLog::connection
- 11.x core/modules/dblog/src/Logger/DbLog.php \Drupal\dblog\Logger\DbLog::connection
The database connection object.
Type: \Drupal\Core\Database\Connection
File
-
core/
modules/ dblog/ src/ Logger/ DbLog.php, line 30
Class
- DbLog
- Logs events in the watchdog database table.
Namespace
Drupal\dblog\LoggerCode
protected $connection;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.