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.
Problem/Motivation
\Drupal\migrate\Plugin\Migration::get() has been deprecated since Drupal 8.1. It is an artifact of the heady days when migrations were config entities, and was kept as a BC layer when they were converted to plain plugins.
Proposed resolution
Remove this method in Drupal 9.
Remaining tasks
Do it.
User interface changes
None.
API changes
Deprecated method removal.
Data model changes
None.
Release notes snippet
None?
Comment | File | Size | Author |
---|---|---|---|
#7 | diff-5-7.txt | 3.41 KB | quietone |
#7 | 3088595-7.patch | 3.65 KB | quietone |
#5 | Remove-Migration-3088595-5.patch | 2.6 KB | arunkumark |
#2 | 3088595-2.patch | 1.08 KB | phenaproxima |
Comments
Comment #2
phenaproximaComment #3
heddnThere were some uses of it at one point in migrate_tools, migrate_upgrade and migrate_plus until a little while ago. But that is now gone. So this should be fine to go. Yeah!
Comment #5
arunkumarkUpdated the patch with the resolution for the test cases.
Comment #7
quietone CreditAttribution: quietone as a volunteer commentedNeeded a reroll. Plus removed the legacy test.
Comment #8
phenaproximaLooks good to me!
Comment #10
catchCommitted 6ffa1bd and pushed to 9.0.x. Thanks!