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.
MigrateTemplateStorage should have an interface, contrib code should not type hint against the implementation because as per DIP. This in turn prevents the service from being replace in the container.
Comment | File | Size | Author |
---|---|---|---|
#10 | interdiff.txt | 2.06 KB | benjy |
#10 | 2626472-10.patch | 5.01 KB | benjy |
#3 | 2626472-3.patch | 2.95 KB | benjy |
template-storage-interface.patch | 1.71 KB | benjy | |
Comments
Comment #2
benjy CreditAttribution: benjy at PreviousNext commentedThis time with the interface.
Comment #3
benjy CreditAttribution: benjy at PreviousNext commentedFixed a comment.
Comment #4
phenaproximaNit: 'id' should be 'ID'. Can be fixed on commit.
RTBC otherwise, pending Drupal CI.
Comment #7
cilefen CreditAttribution: cilefen commentedThis is needed, but it is an API improvement so it goes to 8.1.x.
Comment #8
phenaproximaMigrate is experimental so this may potentially go into 8.0.x. A committer should confirm that, though.
Comment #9
alexpottThis seems fine to go into 8.0.x - it does not break exiting contrib migrations and other migrate projects are helped by having an interface.
However we need to fix Drupal\taxonomy\Plugin\migrate\builder\d6\TermNode to use the interface
Comment #10
benjy CreditAttribution: benjy at PreviousNext commentedDone.
Comment #11
chx CreditAttribution: chx at Smartsheet commentedStraightforward.
Comment #12
alexpottCommitted ef59d9b and pushed to 8.0.x and 8.1.x. Thanks! This is eligible for 8.0.x because migrate is experimental and this does not wildly break the existing functionality.