Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
One of the next functions to deprecate in bootstrap.inc,
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#12 | interdiff-3052703-10-12.txt | 2.34 KB | voleger |
#12 | 3052703-12.patch | 21.18 KB | voleger |
Comments
Comment #2
BerdirComment #3
BerdirCR: https://www.drupal.org/node/3052704
Comment #4
BerdirWas doing this on top of another issue, this should apply.
Comment #5
volegerRerolled
Replaced calls that were left.
Comment #6
volegerBlocker for #3000229: Move error handlers to an Error class
Comment #7
volegerComment #8
andypostLooks ready
Comment #9
larowlanHi, we need deprecation tests for at least drupal_installation_attempted, the others are a bit trickier because they're protected.
Other than that, looks good!
Comment #10
volegerHere the legacy test.
Comment #11
kim.pepperLooking good! Just a couple of nits:
Nit: indentation.
You can just use __METHOD__ to get the same result.
It's a shame we can't replace these globals? Is there another issue for that?
Comment #12
voleger#11.1 - fixed
#11.2 - thanks, changed
#11.3 - that is out of scope of this issue. There are no specific issue exist for used globals, but there are few issues where replace other existing globals with alternative storage.
Comment #14
volegerNon-relative fail
Comment #15
kim.pepperLgtm
Comment #16
larowlanThe follow-up is #1530756: [meta] Use a proper kernel for the installer - long standing open issue to get rid of said globals in the installer.
Confirmed that the new test is running.
Committed 2732b8e and pushed to 8.8.x. Thanks!
Published the change record.
Onwards and upwards 🚀
Comment #19
penyaskitoThis is a pointed to the wrong change record. Should be https://www.drupal.org/node/3052704
Opening a new issue: #3098521: drupal_installation_attempted() deprecation referencing wrong change record