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
In #3056118: Remove deprecated code from Upgrade Status we found that other than testing code (see #3100308: Make Upgrade Status tests Drupal 9 compatible), there was no other remaining deprecated API but the use of file_directory_temp(). However that requires Drupal 8.8.x and 8.7.x is still supported. We can remove usage of it, if it is not available and still use it if it is. This allows to remove the deprecation notice and still mark it for future removal.
Proposed resolution
Do it.
Remaining tasks
Do it.
User interface changes
None.
API changes
None.
Data model changes
None.
Release notes snippet
None.
Comment | File | Size | Author |
---|---|---|---|
#4 | 3100361-4.patch | 899 bytes | Gábor Hojtsy |
#2 | 3100361-2.patch | 971 bytes | Gábor Hojtsy |
Comments
Comment #2
Gábor HojtsyComment #3
knyshuk.vova CreditAttribution: knyshuk.vova at Internetdevels, Drupal Ukraine Community commentedReviewed. Replacing of old function is correct. Patch can be committed.
Comment #4
Gábor HojtsyHere is a version with backwards compatibility, so we don't need to up the requirement and still mark it as such and get rid of the deprecation error.
Comment #5
Gábor HojtsyWe can do this now without requiring 8.8.
Comment #6
Gábor HojtsyComment #7
Gábor HojtsyComment #9
Gábor Hojtsy