Changes for core/lib/Drupal/Core/Database/Connection.php: 38 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
@@ -899,6 +899,20 @@ protected function expandArguments(&$query, &$args) {
* The name of the class that should be used for this driver.
*/
publicfunctiongetDriverClass($class){
match($class){
'ExceptionHandler',
'Select',
'Insert',
'Merge',
'Upsert',
'Update',
'Delete',
'Truncate',
'Schema',
'Condition',
'Transaction'=>@trigger_error('Calling '.__METHOD__.'() for \''.$class.'\' is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use standard autoloading in the methods that return database operations. See https://www.drupal.org/node/3217534',E_USER_DEPRECATED),