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
Following the example of #2937989: Support multiple node types in node source plugins we'd like to add documentation and examples to migration source plugins, so they're easier to work with.
This issue will cover plugins for taxonomy terms:
- core/modules/taxonomy/src/Plugin/migrate/source/d6/Term.php
- core/modules/taxonomy/src/Plugin/migrate/source/d6/TermLocalizedTranslation.php
- core/modules/taxonomy/src/Plugin/migrate/source/d7/Term.php
- core/modules/taxonomy/src/Plugin/migrate/source/d7/TermEntityTranslation.php
- core/modules/taxonomy/src/Plugin/migrate/source/d7/TermLocalizedTranslation.php
- core/modules/taxonomy/src/Plugin/migrate/source/d7/TermTranslation.php
Remaining tasks
- Review <- we are here
- Address the feedback
- Commit
Comment | File | Size | Author |
---|---|---|---|
#6 | ClejVJj - Imgur.png | 74.47 KB | ilgnerfagundes |
Issue fork drupal-3189587
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3189587-documentation-taxonomy-terms-plugins changes, plain diff MR !180
Comments
Comment #3
MatroskeenComment #4
quietone CreditAttribution: quietone as a volunteer commentedI reviewed the MR and paused on the use of the hyphen in the comment. But it does seem fine to me, even though I am not an English grammar expert.
this looks like another nice doc addition.
Thx!
Comment #5
MatroskeenRe-based merge request. Still applies cleanly 😇
Comment #6
ilgnerfagundes CreditAttribution: ilgnerfagundes at CI&T commentedThis is fine with me RTBC + 1
Comment #7
quietone CreditAttribution: quietone as a volunteer commented@ilgnerfagundes, thanks for the comment. Stating what you did to review the patch would be more helpful than a screenshot. For this issue it would be good to know that you read all the new comments and that they made sense to you and there was not duplication or errors in the links in the @see.
I applied the patch and read the comments and this is a very good improvement. I tried to view just the changes using the Compare with previous version' link but it would not load due to changes to 1000+ files! That is why I applied the patch locally and reread the whole thing.
Yes, RTBC
Comment #8
alexpottCommitted and pushed 0921d71ec0 to 9.2.x and 3cbce90f1d to 9.1.x. Thanks!
@ilgnerfagundes thank you for looking into this issue.
Posting screenshots of your codebase or CLI does not advance the issue, since the automated testing infrastructure tells us whether the patch applies correctly.
So, I've removed the issue credit for that screenshot. In the future, you can get credit for issues by reading the issue to understand its purpose, and posting your review or testing of that purpose. Thank you!
Comment #12
ilgnerfagundes CreditAttribution: ilgnerfagundes at CI&T commentedbut alex i just put the screenshot to prove that i downloaded the patch, i ran it and did the tests, people above didn't even put any print and still proved it worked and i didn't?