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.
Filter::process() method definition has changed so that it now has only two params and needs to return FilterProcessResult object.
Comment | File | Size | Author |
---|---|---|---|
#7 | pathologic-2304219-fix-broken-tests-7.patch | 3.54 KB | ja_ca |
#1 | pathologic-2304219-filter_process_update-1.patch | 978 bytes | blueminds |
Comments
Comment #1
blueminds CreditAttribution: blueminds commentedHere is the patch.
Comment #2
blueminds CreditAttribution: blueminds commentedComment #4
BerdirForced a test so we get some feedback.
Tests are pretty broken right now, but if you compare the branch ouptut, this is a bit better than it was before ;)
We might be posting some patches to fix the tests, but this can still be committed.
Comment #5
ja_ca CreditAttribution: ja_ca commentedThis patch includes fixing the test and of course "pathologic-2304219-filter_process_update-1.patch" by @blueminds.
Basically had to update a few deprecated/removed functions.
Comment #7
ja_ca CreditAttribution: ja_ca commentedUpdated without including .DS_Store to the patch ;-)
Comment #8
BerdirModules are apparently lowercased for the group.
If you look at the UI, you can confirm that the other tests are in filter, not Filter.
Comment #9
Garrett Albright CreditAttribution: Garrett Albright commentedI'd like to thank you all for your work in this thread. I haven't been able to take a look at the patches yet due to general business, but I'll try to have a look this weekend.
Comment #10
Garrett Albright CreditAttribution: Garrett Albright commentedOkay, applied and pushed (with the correction by Berdir). Thanks, folks!
Comment #12
ja_ca CreditAttribution: ja_ca commentedNo problem ;-) Thanks for pushing!