I have wanted to do this for a very long time. Since Drupal 8.3, actually.
The "cckfield" plugin type, defined by the Migrate Drupal module, was superseded by the "field" plugin type. Grafting a backwards compatibility layer onto this monumentally poorly named plugin type was hell and I'm pretty sure it almost drove @quietone insane. So it is going to be tremendously satisfying to completely remove this plugin type, and all of the related usages and test coverage, from core in Drupal 9.
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | 3088480-14.patch | 84.57 KB | phenaproxima |
| #11 | 3088480-11.patch | 84.42 KB | phenaproxima |
| #10 | 3088480-10.patch | 84.43 KB | phenaproxima |
| #9 | 3088480-9.patch | 84.43 KB | phenaproxima |
| #9 | interdiff-3088480-2-9.txt | 924 bytes | phenaproxima |
Comments
Comment #2
phenaproximaI cannot wait to see how many tests this breaks.
Comment #3
phenaproximaComment #4
quietone commentedSatisfying indeed!
I can't do a review now, too many irons in the fire already.
Comment #5
mikelutzThat is the prettiest patch I've seen since #3087546: Remove deprecated entity manager. When I opened it for a quick review, I had three or four things in my head that I thought might be easily missed, but you hit them all. I'm going to apply this patch and give the codebase a onceover before I RTBC, but I'm inclined to set a low bar to RTBC this (especially given passing tests with the deprecation suppressions removed). If we do find a reference in a comment or something else small later we can remove it in a follow up.
@PhenaProxima++
Comment #6
phenaproxima😁 Yup, this one also puts a smile on my face, big-time. I used PHPStorm to search for every instance of "cck" in core, and just deleted the ones that were related to this plugin type. Awww, yeah...
Comment #7
mikelutzOkay, one nit:
Comment #8
heddn:smile:
Comment #9
phenaproximaNit fixed.
Comment #10
phenaproximaOkay, not sure why that didn't apply; it works on my machine. Maybe this one will work? 🤷♂️
Comment #11
phenaproximaTFW when you realize you were rolling the patches against the wrong branch. 🤦♂️
Comment #12
heddnNo mentions of cck in any parts of Core. Except for D6 database dumps and d6 source plugins for i18n. I'd say this is good to go.
Comment #13
mikelutzComment #14
phenaproximaReroll! Confirmed that there are no mentions of "cck", except in test fixtures and actual tests, after this patch.
Comment #15
quietone commentedI check for 'cck' as well and didn't find any except in tests, source plugins and migration/state. So, yes RTBC.
Comment #16
catchThe taxonomy stuff already got committed a few minutes ago in a taxonomy deprecation removals patch, but it was straightforward to just remove those hunks entirely from this patch.
Committed 98646a8 and pushed to 9.0.x. Thanks!
Comment #17
catchComment #19
heddnYeah!!! What a wonderful way to celebrate Thanksgiving.
Comment #20
quietone commentedLovely to see this in! Another good thing that happened while I am at Drupal South 2019.