You are here

external_translated_test_node_translation.yml in Drupal 9

core/modules/migrate/tests/modules/migrate_external_translated_test/migrations/external_translated_test_node_translation.yml

File

core/modules/migrate/tests/modules/migrate_external_translated_test/migrations/external_translated_test_node_translation.yml
View source
  1. id: external_translated_test_node_translation
  2. label: External translated content translations
  3. source:
  4. plugin: migrate_external_translated_test
  5. default_lang: false
  6. constants:
  7. type: external_test
  8. process:
  9. nid:
  10. plugin: migration_lookup
  11. source: name
  12. migration: external_translated_test_node
  13. type: constants/type
  14. title: title
  15. langcode:
  16. plugin: static_map
  17. source: lang
  18. map:
  19. English: en
  20. French: fr
  21. Spanish: es
  22. destination:
  23. plugin: entity:node
  24. translations: true
  25. migration_dependencies:
  26. required:
  27. - external_translated_test_node