"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/modules/content_translation/migrations/d6_taxonomy_term_localized_translation.yml" (26 Nov 2020, 966 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 id: d6_taxonomy_term_localized_translation
    2 label: Taxonomy localized term translations
    3 migration_tags:
    4   - Drupal 6
    5   - Content
    6   - Multilingual
    7 source:
    8   plugin: d6_term_localized_translation
    9   translations: true
   10 process:
   11   # If you are using this file to build a custom migration consider removing
   12   # the tid field to allow incremental migrations.
   13   tid: tid
   14   langcode: language
   15   vid:
   16     plugin: migration_lookup
   17     migration: d6_taxonomy_vocabulary
   18     source: vid
   19   name:
   20     -
   21       plugin: callback
   22       source:
   23         - name_translated
   24         - name
   25       callable: array_filter
   26     -
   27       plugin: callback
   28       callable: current
   29   description:
   30     -
   31       plugin: callback
   32       source:
   33         - description_translated
   34         - description
   35       callable: array_filter
   36     -
   37       plugin: callback
   38       callable: current
   39 destination:
   40   plugin: entity:taxonomy_term
   41   translations: true
   42 migration_dependencies:
   43   required:
   44     - d6_taxonomy_term