Remove old code from Drupal\Core\Database\Database::convertDbUrlToConnectionInfo()

Created on 12 January 2022, over 3 years ago
Updated 13 April 2025, 2 days ago

Problem/Motivation

The method Drupal\Core\Database\Database::convertDbUrlToConnectionInfo() in that there is the possibility the array key $query['module'] is not set. Only in D10 all database drivers live in a module, therefor it must be set. Also the connection class Drupal\\Driver\\Database\\{$driver}\\Connection no longer exists.

Proposed resolution

Remove and refactor the code of the method Drupal\Core\Database\Database::convertDbUrlToConnectionInfo().

Remaining tasks

TBD

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

TBD

📌 Task
Status

Active

Version

11.0 🔥

Component

database system

Created by

🇳🇱Netherlands daffie

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024