Make it possible to move DBTNG into a component by making the dependency to Drupal optional

Created on 9 June 2015, over 9 years ago
Updated 18 January 2023, almost 2 years ago

Problem/Motivation

I'm told that DBTNG will eventually be split out into a component (yay!), which is good, but unfortunately it's not quite ready for that. There are still a few hardwired dependencies on various pieces of Drupal here and there. These should be removed so that DBTNG can take its rightful place in component-space.

Proposed Resolution

All references to Drupal core should be removed from DBTNG, and any Drupal-specific stuff should be implemented in Drupal-specific extensions of DBTNG.

Remaining Tasks

  • Discuss
  • Patch
  • Review
  • Commit

Attached is an initial patch of the base implementation of Select which checks for \Drupal before calling \Drupal::moduleHandler() and trying to alter the query, since altering queries is a Drupal-specific thing.

πŸ“Œ Task
Status

Closed: won't fix

Version

10.1 ✨

Component
DatabaseΒ  β†’

Last updated 2 days ago

  • Maintained by
  • πŸ‡³πŸ‡±Netherlands @daffie
Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

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.

No activities found.

Production build 0.71.5 2024