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
#date_date_callbacks callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. Support for this callback implementation is deprecated in drupal:9.3.0 and will be removed in drupal:10.0.0.
Steps to reproduce
Proposed resolution
Throw an exception when an untrusted date callback is encountered in Drupal 10.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#2 | 3293077-2.patch | 10.5 KB | longwave |
|
Comments
Comment #2
longwaveComment #3
longwaveComment #4
SpokjeLGTM.
Comment #6
catchCommitted/pushed to 10.1.x and cherry-picked to 10.0.x, thanks!