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.
8.x-1.x-dev doesn't work in HEAD any more.
Comment | File | Size | Author |
---|---|---|---|
#12 | d8_codefilter.interdiff.txt | 1.82 KB | fago |
#12 | d8_codefilter.patch | 23.1 KB | fago |
| |||
#11 | 2258339-chasing-head-11.patch | 23.12 KB | eporama |
#11 | interdiff-2258339-10-11.txt | 4.36 KB | eporama |
#10 | chasing_drupal_8_head-2258339-10.patch | 19.26 KB | naxoc |
Comments
Comment #1
eporama CreditAttribution: eporama commentedHere's an initial patch which allows the module to be activated and applied to admin/config/content/formats/manage/restricted_html for example.
However, the code is not actually activated on the node.
Comment #2
Cameron Tod CreditAttribution: Cameron Tod commentedWell, being able to enable the module is a good start. Thanks for your help! I've pushed this patch with attribution.
Comment #3
Steven Jones CreditAttribution: Steven Jones commentedSince core went to PSR-4 and moved to 'src' the module is brokened.
But here's a patch!
Comment #4
Steven Jones CreditAttribution: Steven Jones commentedComment #5
Steven Jones CreditAttribution: Steven Jones commentedLet's just get a review.
Comment #7
Steven Jones CreditAttribution: Steven Jones commentedPatch applied and tested cleanly, despite what cheeky System Message says.
Comment #8
naxoc CreditAttribution: naxoc commentedHere is a little more keeping up with head.
I rerolled and did some small changes to stuff that has changed in D8.
Comment #10
naxoc CreditAttribution: naxoc commentedFair enough testbot. The tests could not be found because they were in the wrong place. Here is another patch.
Comment #11
eporama CreditAttribution: eporama commentedThe previous patch seems to have actually just removed the tests instead of putting them in the right place. I have put the test file back in src/Tests
Here's a patch that puts the tests files back and also moves the css and js from codefilter.module into codefilter.libraries.yml as I was getting errors about #attachments not allowing css.
Comment #12
fagoThanks, #11 works almost fine. Only issue I ran into is that meanwhile the String class got replaced. Updated it respectively.
Imo, this should be committed to Git asap as the code there is rather outdated.
Comment #14
Cameron Tod CreditAttribution: Cameron Tod commentedThanks guys, commited to 8.x-1.x!
http://cgit.drupalcode.org/codefilter/commit/?id=41e4b71