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