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.
Comment | File | Size | Author |
---|---|---|---|
#35 | 2640992_35.patch | 120.15 KB | chx |
#33 | 2640992_33.patch | 120.08 KB | chx |
#31 | 2640992_31.patch | 132.63 KB | chx |
Comments
Comment #2
chx CreditAttribution: chx commentedComment #4
chx CreditAttribution: chx commentedComment #5
chx CreditAttribution: chx commentedComment #8
chx CreditAttribution: chx commentedComment #9
chx CreditAttribution: chx commentedComment #12
chx CreditAttribution: chx commentedComment #14
chx CreditAttribution: chx commentedComment #16
chx CreditAttribution: chx commentedComment #18
chx CreditAttribution: chx commentedComment #20
chx CreditAttribution: chx commentedComment #22
phenaproximaSo here's a shallow, partial review. I found some minor documentation issues, but I need to review this more thoroughly later. In the meantime, it's still a work-in-progress so I feel OK about where it's heading.
Call me paranoid, but just in case the service ID changes at some point in the future (or some other unforeseen snafu)...I think this should be a utility method on MigrateTestBase.
Contains null? The suspense is killing me :)
Missing a doc comment.
All missing doc comments.
Not entirely sure what's going on here; can you provide a comment?
Nit: There's an extra blank line after the comment.
Contextual links? I don't think so :)
Needs a comment.
Missing description.
This seems like a good place to use a plugin collection. Also, it's implementing a method on an interface which the class does not actually implement.
Is this actually implemented anywhere, or is it old cruft from a previous generation of the patch?
I think this should return a plugin collection. Collections are, best I can figure, designed for exactly this sort of use, so better to not reinvent that.
Nit: Extra blank line.
I get the sense that this class is only around for backwards compatibility. It should have a doc comment explaining that and marking it @deprecated.
Should be public, needs a doc comment.
Is EntityStorageInterface still used? If not, should be removed.
Needs a description.
"MigrationTestDeleted"? #wat
Nit: There's an extra blank line after this.
Needs a description.
Also needs a description.
Missing description in the doc comment.
Comment #23
chx CreditAttribution: chx commentedComment #25
chx CreditAttribution: chx commentedComment #27
chx CreditAttribution: chx commentedComment #29
chx CreditAttribution: chx commentedComment #31
chx CreditAttribution: chx commentedComment #33
chx CreditAttribution: chx commentedComment #35
chx CreditAttribution: chx commentedComment #36
chx CreditAttribution: chx commented> Call me paranoid, but just in case the service ID changes at some point in the future (or some other unforeseen snafu)...I think this should be a utility method on MigrateTestBase.
Maybe but maybe not: if the service ID changes then all the derivers break too. So it'll be a global search-replace.
> This seems like a good place to use a plugin collection. Also, it's implementing a method on an interface which the class does not actually implement.
Feel free; I won't. What's the diff between a plugin collection and a bag? Or did we just rename? The interface has been changed and fixed many revisions ago.
Comment #38
mikeryan#2625696: Make migrations themselves plugins instead of config entities is long closed now.