Issue #2605284 by mondrake, david_garcia, GoZ, Jo Fitzgerald, alexpott,...
Issue #2605284 by mondrake, david_garcia, GoZ, Jo Fitzgerald, alexpott, Pradnya Pingat, daffie, dawehner, amateescu, David Strauss, larowlan: Testing framework does not work with contributed database drivers
Changes for core/lib/Drupal/Core/Database/Connection.php: 112 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
@@ -1472,4 +1472,116 @@ public function __sleep() {
thrownew\LogicException('The database connection is not serializable. This probably means you are serializing an object that has an indirect reference to the database connection. Adjust your code so that is not necessary. Alternatively, look at DependencySerializationTrait as a temporary solution.');
}
/**
* Creates an array of database connection options from a URL.