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
While sprinting, maxocub and I talked about the class property on the migration yml and that there wasn't any documentation for it. Not knowing where sure documentation should be, we asked phenaproxima where it should be documented and he wasn't sure either.
Proposed resolution
Add a handbook page to in this section, Upgrade using the user interface
Remaining tasks
Do it.
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Comments
Comment #2
quietone CreditAttribution: quietone as a volunteer commentedAdd parent issue.
Comment #3
heddnComment #5
j. ayen green CreditAttribution: j. ayen green as a volunteer commentedComment #6
j. ayen green CreditAttribution: j. ayen green as a volunteer commentedquiteone can you point me at an example of this, so I can try to narrow down the provenance of the code I need?
Comment #7
quietone CreditAttribution: quietone as a volunteer commented@j. ayen green, thanks for picking this up.
It is has been a long time since I spoke with maxocub about this but I think the idea was to build up documentation for all the migration properties. Some of course will be from the plugin system itself and, in my opinion, still worth documenting from a migration perspective. Then there are migration specific ones, like 'audit' and 'migration_tags' that could eventually be included. But one step at at time.
Migration plugins using the class property are:
Is that what you are looking for?
Comment #12
quietone CreditAttribution: quietone as a volunteer commentedI been scanning and reading the documentation at Migrate API and I think there is sufficient information there for someone to write migrations. In particular, https://www.drupal.org/docs/8/api/migrate-api/migrate-destination-plugins-examples, has thorough examples. Although the title does refer to destination plugins the examples include the complete migration.yml. I expect anyone looking for how to write a migration is very likely to look at that page because it contain examples.
And of course, since they are plugins, any other properties should be documented in the Plugin Definitions
Therefor I think it is safe to mark this fixed.