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
The phpdoc for class EmbeddedDataSource gives an example on how to use it in a migration configuration file.
Unfortunately the ids-key in the code example isn't indented correctly which will cause the yaml parser to throw an error
if this snippet is copy-pasted.
see e.g. core/modules/block_content/migration_templates/block_content_type.yml for reference.
Comment | File | Size | Author |
---|---|---|---|
#2 | EmbeddedDataSource_documentation-2902287-2.patch | 568 bytes | pektinasen |
Comments
Comment #2
pektinasen CreditAttribution: pektinasen commentedComment #3
cilefen CreditAttribution: cilefen at Institute for Advanced Study commentedComment #4
jofitz CreditAttribution: jofitz at ComputerMinds commentedGood spot! Absolutely correct. Nice, simple docs correction.
Thanks for such a well-written, easy to follow issue - especially the example. Makes it easy to review.
Comment #8
catchCommitted/pushed to 8.5.x and cherry-picked to 8.4.x, thanks!
Comment #9
kylethebaker CreditAttribution: kylethebaker commentedGlad to see this fixed, I'll go ahead and close this: https://www.drupal.org/node/2889428