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
Drupal\Core\Access\AccessResult::cacheUntilConfigurationChanges
is deprecated but we still use it.
Proposed resolution
Add @trigger_error() to the method and remove usages.
Remaining tasks
None
User interface changes
none
API changes
none
Data model changes
none
Release notes snippet
N/a
Comment | File | Size | Author |
---|---|---|---|
#6 | 3069028-6.patch | 4.1 KB | alexpott |
#6 | 3-6-interdiff.txt | 1.54 KB | alexpott |
#3 | 3069028-2.patch | 2.57 KB | alexpott |
Comments
Comment #2
Berdiredit: wrong issue
Comment #3
alexpottComment #4
alexpottComment #5
mikelutzLooks good, just needs a legacy test to test the deprecation error.
Comment #6
alexpottI think at some point we need to discuss whether deprecated one line methods with no logic need a test but now is not the time. (I don't think they do).
Comment #7
BerdirYeah, the more we add, the more work we have in 9.x to remove it again :)
Look good.
Comment #9
catchCommitted 6c18352 and pushed to 8.8.x. Thanks!