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.
I found that the language_load function is still used throughout core even though it is deprecated. Searching through the codebase shows me that there are about 58 uses of language_load in core. The function has a suggested bit of code that can be used as a replacement so why not use that to fix the deprecated code.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2182133_1.patch | 20.89 KB | cosmicdreams |
Comments
Comment #1
cosmicdreams CreditAttribution: cosmicdreams commentedComment #2
cosmicdreams CreditAttribution: cosmicdreams commentedComment #3
ianthomas_ukComment #4
ianthomas_ukOn second thoughts, this isn't a great candidate for the script
Comment #5
ianthomas_ukRolled into #2166915: Remove uses of deprecated language functions in tests and procedural code