Procházet zdrojové kódy

removed unused modules

bach před 2 měsíci
rodič
revize
2be4268958
100 změnil soubory, kde provedl 2 přidání a 6461 odebrání
  1. 1 2
      composer.json
  2. 1 131
      composer.lock
  3. 0 52
      web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_allfiles.yml
  4. 0 184
      web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_corpus.yml
  5. 0 35
      web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_entrees.yml
  6. 0 93
      web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_evenements.yml
  7. 0 17
      web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_genres.yml
  8. 0 17
      web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_langues.yml
  9. 0 133
      web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_pages.yml
  10. 0 17
      web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_pagetype.yml
  11. 0 101
      web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_sons.yml
  12. 0 48
      web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_users.yml
  13. 0 7
      web/modules/custom/edlp_migrate/config/install/migrate_plus.migration_group.d6_edlp.yml
  14. 0 9
      web/modules/custom/edlp_migrate/edlp_migrate.info.yml
  15. 0 27
      web/modules/custom/edlp_migrate/readme.md
  16. 0 230
      web/modules/custom/edlp_migrate/src/Plugin/migrate/source/D6EdlpCorpus.php
  17. 0 144
      web/modules/custom/edlp_migrate/src/Plugin/migrate/source/D6EdlpEvenements.php
  18. 0 111
      web/modules/custom/edlp_migrate/src/Plugin/migrate/source/D6EdlpFile.php
  19. 0 232
      web/modules/custom/edlp_migrate/src/Plugin/migrate/source/D6EdlpPages.php
  20. 0 193
      web/modules/custom/edlp_migrate/src/Plugin/migrate/source/D6EdlpSons.php
  21. 0 169
      web/modules/custom/edlp_migrate/src/Plugin/migrate/source/D6EdlpTaxonomyTermEntree.php
  22. 0 132
      web/modules/custom/edlp_migrate/src/Plugin/migrate/source/D6EdlpUsers.php
  23. 0 103
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_block.yml
  24. 0 33
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_date_formats.yml
  25. 0 25
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_dblog_settings.yml
  26. 0 136
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_field.yml
  27. 0 287
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_field_formatter_settings.yml
  28. 0 63
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_field_instance.yml
  29. 0 75
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_field_instance_widget_settings.yml
  30. 0 48
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_file.yml
  31. 0 28
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_file_settings.yml
  32. 0 50
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_filter_format.yml
  33. 0 35
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_imagecache_presets.yml
  34. 0 51
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_language_content_settings.yml
  35. 0 40
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_language_negotiation_settings.yml
  36. 0 60
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_language_types.yml
  37. 0 23
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_menu.yml
  38. 0 64
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_menu_links.yml
  39. 0 109
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_corpus.yml
  40. 0 52
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_entree.yml
  41. 0 59
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_episode.yml
  42. 0 60
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_event.yml
  43. 0 51
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_home.yml
  44. 0 57
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_page.yml
  45. 0 103
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_corpus.yml
  46. 0 46
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_entree.yml
  47. 0 53
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_episode.yml
  48. 0 54
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_event.yml
  49. 0 45
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_home.yml
  50. 0 51
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_page.yml
  51. 0 93
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_son.yml
  52. 0 45
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_static.yml
  53. 0 48
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_visual_piece_sonore.yml
  54. 0 45
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_webform.yml
  55. 0 31
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_setting_promote.yml
  56. 0 31
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_setting_status.yml
  57. 0 31
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_setting_sticky.yml
  58. 0 25
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_settings.yml
  59. 0 99
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_son.yml
  60. 0 51
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_static.yml
  61. 0 116
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_corpus.yml
  62. 0 59
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_entree.yml
  63. 0 66
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_episode.yml
  64. 0 67
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_event.yml
  65. 0 58
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_home.yml
  66. 0 64
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_page.yml
  67. 0 106
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_son.yml
  68. 0 58
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_static.yml
  69. 0 61
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_visual_piece_sonore.yml
  70. 0 58
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_webform.yml
  71. 0 37
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_type.yml
  72. 0 54
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_visual_piece_sonore.yml
  73. 0 51
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_webform.yml
  74. 0 32
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_search_settings.yml
  75. 0 28
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_statistics_settings.yml
  76. 0 27
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_syslog_settings.yml
  77. 0 28
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_cron.yml
  78. 0 31
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_date.yml
  79. 0 32
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_file.yml
  80. 0 24
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_image.yml
  81. 0 24
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_image_gd.yml
  82. 0 32
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_logging.yml
  83. 0 24
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_maintenance.yml
  84. 0 31
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_performance.yml
  85. 0 26
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_rss.yml
  86. 0 52
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_site.yml
  87. 0 42
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_taxonomy_term.yml
  88. 0 47
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_taxonomy_term_translation.yml
  89. 0 38
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_taxonomy_vocabulary.yml
  90. 0 63
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_term_node_1.yml
  91. 0 63
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_term_node_2.yml
  92. 0 63
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_term_node_3.yml
  93. 0 63
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_term_node_4.yml
  94. 0 65
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_term_node_revision_1.yml
  95. 0 65
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_term_node_revision_2.yml
  96. 0 65
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_term_node_revision_3.yml
  97. 0 65
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_term_node_revision_4.yml
  98. 0 45
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_upload.yml
  99. 0 43
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_upload_entity_display.yml
  100. 0 44
      web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_upload_entity_form_display.yml

+ 1 - 2
composer.json

@@ -35,6 +35,7 @@
         "drupal/config_devel": "^1.4",
         "drupal/config_filter": "^1.6",
         "drupal/config_ignore": "^3.3",
+        "drupal/config_update": "^1.7",
         "drupal/context": "^4.1",
         "drupal/core-composer-scaffold": "^9.1.0",
         "drupal/core-project-message": "^9.1.0",
@@ -46,7 +47,6 @@
         "drupal/domain_site_settings": "^1.6",
         "drupal/email_registration": "^1.1",
         "drupal/entity": "^1.3",
-        "drupal/features": "^3.11",
         "drupal/field_group": "^3.1",
         "drupal/filefield_sources": "^1.0@alpha",
         "drupal/filter_perms": "^1.0@alpha",
@@ -69,7 +69,6 @@
         "drupal/synonyms": "^1.0@alpha",
         "drupal/translation_views": "^1.0",
         "drupal/upgrade_status": "^3.19",
-        "drupal/url_to_video_filter": "^2.0",
         "drupal/views_bulk_edit": "^2.6",
         "drupal/views_bulk_operations": "^3.9",
         "drupal/workflow": "1.6",

+ 1 - 131
composer.lock

@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "2237975f41ed2ca7f27f15bca7d7569c",
+    "content-hash": "c39d0bf5321445cf3ca6638c960d6f30",
     "packages": [
         {
             "name": "asm89/stack-cors",
@@ -3849,92 +3849,6 @@
                 "issues": "https://www.drupal.org/project/issues/entity"
             }
         },
-        {
-            "name": "drupal/features",
-            "version": "3.12.0",
-            "source": {
-                "type": "git",
-                "url": "https://git.drupalcode.org/project/features.git",
-                "reference": "8.x-3.12"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://ftp.drupal.org/files/projects/features-8.x-3.12.zip",
-                "reference": "8.x-3.12",
-                "shasum": "f28d6e7d3340e32666a3e8ae515ed746dbe86b98"
-            },
-            "require": {
-                "drupal/config_update": "^1.4",
-                "drupal/core": "^8.8 || ^9"
-            },
-            "type": "drupal-module",
-            "extra": {
-                "drupal": {
-                    "version": "8.x-3.12",
-                    "datestamp": "1612830531",
-                    "security-coverage": {
-                        "status": "covered",
-                        "message": "Covered by Drupal's security advisory policy"
-                    }
-                },
-                "drush": {
-                    "services": {
-                        "drush.services.yml": "^9 || ^10"
-                    }
-                }
-            },
-            "notification-url": "https://packages.drupal.org/8/downloads",
-            "license": [
-                "GPL-2.0-or-later"
-            ],
-            "authors": [
-                {
-                    "name": "Dave Reid",
-                    "homepage": "https://www.drupal.org/user/53892"
-                },
-                {
-                    "name": "dawehner",
-                    "homepage": "https://www.drupal.org/user/99340"
-                },
-                {
-                    "name": "donquixote",
-                    "homepage": "https://www.drupal.org/user/459338"
-                },
-                {
-                    "name": "e2thex",
-                    "homepage": "https://www.drupal.org/user/189123"
-                },
-                {
-                    "name": "febbraro",
-                    "homepage": "https://www.drupal.org/user/43670"
-                },
-                {
-                    "name": "flocondetoile",
-                    "homepage": "https://www.drupal.org/user/2006064"
-                },
-                {
-                    "name": "jmiccolis",
-                    "homepage": "https://www.drupal.org/user/31731"
-                },
-                {
-                    "name": "joseph.olstad",
-                    "homepage": "https://www.drupal.org/user/1321830"
-                },
-                {
-                    "name": "matthand",
-                    "homepage": "https://www.drupal.org/user/171527"
-                },
-                {
-                    "name": "mpotter",
-                    "homepage": "https://www.drupal.org/user/616192"
-                }
-            ],
-            "description": "Enables administrators to package configuration into modules",
-            "homepage": "https://www.drupal.org/project/features",
-            "support": {
-                "source": "https://git.drupalcode.org/project/features"
-            }
-        },
         {
             "name": "drupal/field_group",
             "version": "3.3.0",
@@ -5429,50 +5343,6 @@
                 "source": "https://git.drupalcode.org/project/upgrade_status"
             }
         },
-        {
-            "name": "drupal/url_to_video_filter",
-            "version": "2.0.0",
-            "source": {
-                "type": "git",
-                "url": "https://git.drupalcode.org/project/url_to_video_filter.git",
-                "reference": "2.0.0"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://ftp.drupal.org/files/projects/url_to_video_filter-2.0.0.zip",
-                "reference": "2.0.0",
-                "shasum": "ac728919cc220846d8ef2ce61dbe1b94fbbf479b"
-            },
-            "require": {
-                "drupal/core": "^8 || ^9"
-            },
-            "type": "drupal-module",
-            "extra": {
-                "drupal": {
-                    "version": "2.0.0",
-                    "datestamp": "1607298389",
-                    "security-coverage": {
-                        "status": "covered",
-                        "message": "Covered by Drupal's security advisory policy"
-                    }
-                }
-            },
-            "notification-url": "https://packages.drupal.org/8/downloads",
-            "license": [
-                "GPL-2.0-or-later"
-            ],
-            "authors": [
-                {
-                    "name": "Jaypan",
-                    "homepage": "https://www.drupal.org/user/324696"
-                }
-            ],
-            "description": "Text filter to convert URLs to embedded videos",
-            "homepage": "https://www.drupal.org/project/url_to_video_filter",
-            "support": {
-                "source": "https://git.drupalcode.org/project/url_to_video_filter"
-            }
-        },
         {
             "name": "drupal/views_bulk_edit",
             "version": "2.7.0",

+ 0 - 52
web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_allfiles.yml

@@ -1,52 +0,0 @@
-# Every migration that references a file by Drupal 6 fid should specify this
-# migration as an optional dependency.
-id: d6_edlp_allfiles
-label: Edlp Drupal 6 mp3 migration
-migration_tags:
-  - Drupal 6
-migration_group: d6_edlp
-source:
-  plugin: d6_edlp_file
-  constants:
-    # The tool configuring this migration must set source_base_path. It
-    # represents the fully qualified path relative to which URIs in the files
-    # table are specified, and must end with a /. See source_full_path
-    # configuration in this migration's process pipeline as an example.
-    source_base_path: '../drupal6'
-
-process:
-    # If you are using both this migration and d6_user_picture_file in a custom
-    # migration and executing migrations incrementally, it is strongly
-    # recommended that you remove the fid mapping to avoid potential ID
-    # conflicts. For that reason, this mapping is commented out by default.
-  fid: fid
-  filename: filename
-  source_full_path:
-    -
-      plugin: concat
-      delimiter: /
-      source:
-        - constants/source_base_path
-        - filepath
-    -
-      plugin: urlencode
-  destination_full_path:
-    plugin: file_uri
-    source:
-      - filepath
-      - file_directory_path
-      - temp_directory_path
-      - is_public
-  uri:
-    plugin: file_copy
-    source:
-      - '@source_full_path'
-      - '@destination_full_path'
-  filemime: filemime
-  # No need to migrate filesize, it is computed when file entities are saved.
-  # filesize: filesize
-  status: status
-  changed: timestamp
-  uid: uid
-destination:
-  plugin: entity:file

+ 0 - 184
web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_corpus.yml

@@ -1,184 +0,0 @@
-id: d6_edlp_corpus
-label: Edlp Drupal 6 corpus
-migration_tags:
-  - Drupal 6
-deriver: Drupal\node\Plugin\migrate\D6NodeDeriver
-migration_group: d6_edlp
-source:
-  plugin: d6_edlp_corpus
-  node_type: corpus
-process:
-  # In D6, nodes always have a tnid, but it's zero for untranslated nodes.
-  # We normalize it to equal the nid in that case.
-  # @see \Drupal\node\Plugin\migrate\source\d6\Node::prepareRow().
-  # If you are using this file to build a custom migration consider removing
-  # the nid and vid fields to allow incremental migrations.
-  # nid: tnid
-  # vid: vid
-  type:
-    plugin: default_value
-    default_value: enregistrement
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: "und"
-  title:
-    -
-      plugin: get
-      source: title
-    -
-      plugin: skip_on_empty
-      method: row
-
-  # this is not working :(
-  uid:
-    -
-      plugin: migration_lookup
-      migration: d6_edlp_users
-      source: node_uid
-    -
-      plugin: default_value
-      default_value: 1
-
-  # status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-
-  'field_description/value': body
-  'field_description/format':
-    plugin: default_value
-    default_value: wysiwyg
-
-  # ARTICLE (body)
-  # node ref -> text
-  'body/value': article
-  'body/format':
-    plugin: default_value
-    default_value: wysiwyg
-
-
-  # taxo term -> entity ref terms
-  # use this one for fetchCol in plugin
-  field_entrees:
-    plugin: migration_lookup
-    migration: d6_edlp_entrees
-    source: entrees
-
-  # use this one for fetchAll in plugin
-  # field_entrees:
-  #   -
-  #     plugin: iterator
-  #     source: entrees
-  #     process:
-  #       id: tid
-  #   -
-  #     plugin: flatten
-  #   -
-  #     plugin: migration_lookup
-  #     migration: d6_edlp_entrees
-  #     no_stub: true
-
-  # field_entrees:
-  #   plugin: iterator
-  #   source: entrees
-  #   process:
-  #     plugin: migration_lookup
-  #     migration: d6_edlp_entrees
-
-
-  # field_genre -> field_genres
-  field_genres:
-    plugin: migration_lookup
-    migration: d6_edlp_genres
-    source: genres
-
-  # field_genres:
-  #   -
-  #     plugin: iterator
-  #     source: field_genre
-  #     process:
-  #       id: value
-  #   -
-  #     plugin: flatten
-  #   -
-  #     plugin: migration_lookup
-  #     migration: d6_edlp_genres
-
-
-  # taxo term -> entity ref terms
-  field_langues:
-    plugin: migration_lookup
-    migration: d6_edlp_langues
-    source: langues
-
-  # field_artiste: field_locuteurs
-  # text -> entity ref terms
-  # instead of entity_generate, i create the term in prepareRow from plugin
-  field_locuteurs: locuteurs
-  # field_locuteurs:
-  #   plugin: entity_generate
-  #   entity_type: taxonomy_term
-  #   bundle_key: vid
-  #   bundle: locuteurs
-  #   source: locuteurs
-  #   # value_key: field_artiste_value
-
-
-  # field_compositeur: field_collectionneurs
-  # text -> entity ref terms
-  # instead of entity_generate, i create the term in prepareRow from plugin
-  field_collectionneurs: collectionneurs
-
-
-  # # file
-  # # field_mp3 -> field_son
-  field_son:
-    plugin: migration_lookup
-    migration: d6_edlp_allfiles
-    source: sons_fid
-  # field_son:
-  # #   plugin: migration_lookup
-  # #   migration: d6_edlp_allfiles
-  # #   source: fid
-  #   plugin: iterator
-  #   source: field_mp3
-  #   process:
-  #     target_id:
-  #       plugin: migration_lookup
-  #       migration: d6_edlp_allfiles
-  #       source: fid
-
-
-
-  # workflow
-  # status:
-  #   plugin: static_map
-  #   source: workflow
-  #   map:
-  #     1: 0
-  #     2: 0
-  #     3: 1
-  #     4: 1
-  status:
-    plugin: default_value
-    default_value: 1
-
-  field_workflow:
-    plugin: default_value
-    default_value: "corpus_documents_publie"
-
-
-destination:
-  plugin: entity:node
-migration_dependencies:
-  required:
-    - d6_edlp_users
-    - d6_edlp_entrees
-    - d6_edlp_genres
-    - d6_edlp_langues
-    - d6_edlp_allfiles

+ 0 - 35
web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_entrees.yml

@@ -1,35 +0,0 @@
-id: d6_edlp_entrees
-label: Edlp Drupal 6 entrees
-migration_tags:
-  - Drupal 6
-migration_group: d6_edlp
-source:
-  plugin: d6_edlp_taxonomy_term_entree
-  bundle: 2
-process:
-  name: name
-  # get the node type entrée from source and add it to description field
-  description/value:
-    -
-      plugin: get
-      source: description
-    -
-      plugin: skip_on_empty
-      method: row
-  description/format:
-    plugin: default_value
-    default_value: wysiwyg
-
-  # get the node type page:notice from source and add it to notice field
-  field_notice/value: notice
-  field_notice/format:
-    plugin: default_value
-    default_value: wysiwyg
-
-  vid:
-    plugin: default_value
-    default_value: entrees
-  weight: weight
-
-destination:
-  plugin: entity:taxonomy_term

+ 0 - 93
web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_evenements.yml

@@ -1,93 +0,0 @@
-id: d6_edlp_evenements
-label: Edlp Drupal 6 evenement migration
-migration_tags:
-  - Drupal 6
-deriver: Drupal\node\Plugin\migrate\D6NodeDeriver
-migration_group: d6_edlp
-source:
-  plugin: d6_edlp_evenements
-  node_type: event
-process:
-  # In D6, nodes always have a tnid, but it's zero for untranslated nodes.
-  # We normalize it to equal the nid in that case.
-  # @see \Drupal\node\Plugin\migrate\source\d6\Node::prepareRow().
-  # If you are using this file to build a custom migration consider removing
-  # the nid and vid fields to allow incremental migrations.
-  # nid: tnid
-  # vid: vid
-  type:
-    plugin: default_value
-    default_value: evenement
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: "und"
-  title:
-    -
-      plugin: get
-      source: title
-    -
-      plugin: skip_on_empty
-      method: row
-
-  # this is not working :(
-  uid:
-    -
-      plugin: migration_lookup
-      migration: d6_edlp_users
-      source: node_uid
-    -
-      plugin: default_value
-      default_value: 1
-
-  # status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-
-  'body/value': body
-  'body/format':
-    plugin: default_value
-    default_value: wysiwyg
-
-
-  status:
-    plugin: default_value
-    default_value: 1
-
-  # status:
-  #   plugin: static_map
-  #   source: workflow
-  #   map:
-  #     1: 0
-  #     2: 0
-  #     3: 1
-  #     4: 1
-
-  # workflow
-  # field_workflow_generic:
-  #   plugin: default_value
-  #   default_value: "generique_publie"
-
-  field_workflow_generic:
-    plugin: static_map
-    source: workflow
-    map:
-      1: "generique_masque"
-      2: "generique_masque"
-      3: "generique_publie"
-      4: "generique_publie"
-
-
-  field_date/value: date
-  field_date/end_value: date
-
-destination:
-  plugin: entity:node
-migration_dependencies:
-  required:
-    - d6_edlp_users

+ 0 - 17
web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_genres.yml

@@ -1,17 +0,0 @@
-id: d6_edlp_genres
-label: Edlp Drupal 6 genres
-migration_tags:
-  - Drupal 6
-migration_group: d6_edlp
-source:
-  plugin: d6_taxonomy_term
-  bundle: 3
-process:
-  name: name
-  description: description
-  vid:
-    plugin: default_value
-    default_value: genres
-
-destination:
-  plugin: entity:taxonomy_term

+ 0 - 17
web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_langues.yml

@@ -1,17 +0,0 @@
-id: d6_edlp_langues
-label: Edlp Drupal 6 langues
-migration_tags:
-  - Drupal 6
-migration_group: d6_edlp
-source:
-  plugin: d6_taxonomy_term
-  bundle: 4
-process:
-  name: name
-  description: description
-  vid:
-    plugin: default_value
-    default_value: langues
-
-destination:
-  plugin: entity:taxonomy_term

+ 0 - 133
web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_pages.yml

@@ -1,133 +0,0 @@
-id: d6_edlp_pages
-label: Edlp Drupal 6 pages
-migration_tags:
-  - Drupal 6
-deriver: Drupal\node\Plugin\migrate\D6NodeDeriver
-migration_group: d6_edlp
-source:
-  plugin: d6_edlp_pages
-  node_type: page
-process:
-  # In D6, nodes always have a tnid, but it's zero for untranslated nodes.
-  # We normalize it to equal the nid in that case.
-  # @see \Drupal\node\Plugin\migrate\source\d6\Node::prepareRow().
-  # If you are using this file to build a custom migration consider removing
-  # the nid and vid fields to allow incremental migrations.
-  # nid: tnid
-  # vid: vid
-  type:
-    plugin: default_value
-    default_value: page
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: "und"
-  title:
-    -
-      plugin: get
-      source: title
-    -
-      plugin: skip_on_empty
-      method: row
-
-  uid:
-    -
-      plugin: migration_lookup
-      migration: d6_edlp_users
-      source: node_uid
-    -
-      plugin: default_value
-      default_value: 1
-
-  # status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-
-  'body/value': body
-  'body/format':
-    plugin: default_value
-    default_value: wysiwyg
-
-  # taxo term -> entity ref terms
-  # use this one for fetchCol in plugin
-  field_entrees:
-    plugin: migration_lookup
-    migration: d6_edlp_entrees
-    source: entrees
-
-  # taxo term -> entity ref terms
-  # use this one for fetchCol in plugin
-  # field_page_type:
-  #   plugin: migration_lookup
-  #   migration: d6_edlp_pagetype
-  #   source: page_type
-
-  field_page_type:
-    -
-      plugin: skip_on_empty
-      method: row
-      message: 'Page type is missing, skiping row'
-      source: page_type
-    -
-      plugin: migration_lookup
-      migration: d6_edlp_pagetype
-
-  # TODO: exclude pages of type notice (will be incorporated directly into the entree taxo term)
-
-  # # file
-  # # field_mp3 -> field_son
-  # TODO: pour les pieces sonores les fichiers ne sont pas enregistrés dans le champ car trop lourd. Ils sont sous forme de lien dans le corps du texte. Comment normaliser ça ??
-  field_son:
-    plugin: migration_lookup
-    migration: d6_edlp_allfiles
-    source: sons_fid
-
-  # # field_visuel -> field_visuel
-  field_visuel:
-    plugin: migration_lookup
-    migration: d6_edlp_allfiles
-    source: visuels_fid
-
-  status:
-    plugin: default_value
-    default_value: 1
-
-  # status:
-  #   plugin: static_map
-  #   source: workflow
-  #   map:
-  #     1: 0
-  #     2: 0
-  #     3: 1
-  #     4: 1
-
-  # workflow
-  # field_workflow_generic:
-  #   plugin: default_value
-  #   default_value: "generique_publie"
-
-  field_workflow_generic:
-    plugin: static_map
-    source: workflow
-    map:
-      1: "generique_masque"
-      2: "generique_masque"
-      3: "generique_publie"
-      4: "generique_publie"
-
-  # fichiers attachés ??
-
-destination:
-  plugin: entity:node
-migration_dependencies:
-  required:
-    - d6_edlp_users
-    - d6_edlp_entrees
-    - d6_edlp_pagetype
-    - d6_edlp_sons
-    - d6_edlp_allfiles

+ 0 - 17
web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_pagetype.yml

@@ -1,17 +0,0 @@
-id: d6_edlp_pagetype
-label: Edlp Drupal 6 type de page
-migration_tags:
-  - Drupal 6
-migration_group: d6_edlp
-source:
-  plugin: d6_taxonomy_term
-  bundle: 1
-process:
-  name: name
-  description: description
-  vid:
-    plugin: default_value
-    default_value: page_type
-
-destination:
-  plugin: entity:taxonomy_term

+ 0 - 101
web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_sons.yml

@@ -1,101 +0,0 @@
-id: d6_edlp_sons
-label: Edlp Drupal 6 sons
-migration_tags:
-  - Drupal 6
-deriver: Drupal\node\Plugin\migrate\D6NodeDeriver
-migration_group: d6_edlp
-source:
-  plugin: d6_edlp_sons
-  node_type: son
-process:
-  # In D6, nodes always have a tnid, but it's zero for untranslated nodes.
-  # We normalize it to equal the nid in that case.
-  # @see \Drupal\node\Plugin\migrate\source\d6\Node::prepareRow().
-  # If you are using this file to build a custom migration consider removing
-  # the nid and vid fields to allow incremental migrations.
-  # nid: tnid
-  # vid: vid
-  type:
-    plugin: default_value
-    default_value: autre_son
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: "und"
-  title:
-    -
-      plugin: get
-      source: title
-    -
-      plugin: skip_on_empty
-      method: row
-
-  uid:
-    -
-      plugin: migration_lookup
-      migration: d6_edlp_users
-      source: node_uid
-    -
-      plugin: default_value
-      default_value: 1
-
-  # status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-
-  # body
-  'body/value': body
-  'body/format':
-    plugin: default_value
-    default_value: wysiwyg
-
-  # field_genre -> field_genres
-  field_genres:
-    plugin: migration_lookup
-    migration: d6_edlp_genres
-    source: genres
-
-  # field_artiste: field_locuteurs
-  # text -> entity ref terms
-  # instead of entity_generate, i create the term in prepareRow from plugin
-  field_locuteurs: locuteurs
-
-  # field_compositeur: field_collectionneurs
-  # text -> entity ref terms
-  # instead of entity_generate, i create the term in prepareRow from plugin
-  field_collectionneurs: collectionneurs
-
-
-  # # file
-  # # field_mp3 -> field_son
-  field_son:
-    plugin: migration_lookup
-    migration: d6_edlp_allfiles
-    source: sons_fid
-
-  # workflow
-  status:
-    plugin: static_map
-    source: workflow
-    map:
-      1: 0
-      2: 0
-      3: 1
-      4: 1
-
-
-
-destination:
-  plugin: entity:node
-migration_dependencies:
-  required:
-    - d6_edlp_users
-    - d6_edlp_entrees
-    - d6_edlp_genres
-    - d6_edlp_langues
-    - d6_edlp_allfiles

+ 0 - 48
web/modules/custom/edlp_migrate/config/install/migrate_plus.migration.d6_edlp_users.yml

@@ -1,48 +0,0 @@
-id: d6_edlp_users
-label: Edlp Drupal 6 User accounts
-migration_tags:
-  - Drupal 6
-migration_group: d6_edlp
-source:
-  plugin: d6_edlp_users
-process:
-  # If you are using this file to build a custom migration consider removing
-  # the uid field to allow incremental migrations.
-  # uid: uid
-  name: name
-  pass: pass
-  mail: mail
-  created: created
-  access: access
-  login: login
-  status: status
-  timezone:
-    plugin: user_update_7002
-    source: timezone
-  langcode:
-    plugin: user_langcode
-    source: language
-    fallback_to_site_default: false
-  preferred_langcode:
-    plugin: user_langcode
-    source: language
-    fallback_to_site_default: true
-  preferred_admin_langcode:
-    plugin: user_langcode
-    source: language
-    fallback_to_site_default: true
-  init: init
-  roles:
-    plugin: default_value
-    default_value: "collectionneur"
-
-destination:
-  plugin: entity:user
-  md5_passwords: true
-
-migration_dependencies:
-  # required:
-  #   - d6_user_role
-  optional:
-    - language
-    - default_language

+ 0 - 7
web/modules/custom/edlp_migrate/config/install/migrate_plus.migration_group.d6_edlp.yml

@@ -1,7 +0,0 @@
-id: d6_edlp
-label: D6 Edlp
-description: Drupal 6 edlp content migration to Drupal 8.
-source_type: Drupal 6.
-shared_configuration:
-  source:
-    key: legacy

+ 0 - 9
web/modules/custom/edlp_migrate/edlp_migrate.info.yml

@@ -1,9 +0,0 @@
-name: Edlp migration
-type: module
-description: Defines custom migration for edlp (from d6 to d8).
-core_version_requirement: ^8 || ^9
-package: Edlp
-dependencies:
-  - migrate_drupal
-  - migrate_plus
-  - migrate_tools

+ 0 - 27
web/modules/custom/edlp_migrate/readme.md

@@ -1,27 +0,0 @@
-https://www.drupaleasy.com/blogs/ultimike/2016/04/drupal-6-drupal-81x-custom-content-migration
-
-https://thinkshout.com/blog/2017/05/skipping-a-version-migrating-from-drupal-6-to-drupal-8-with-drupal-migrate/
-
-https://www.drupal.org/docs/8/upgrade/known-issues-when-upgrading-from-drupal-6-or-7-to-drupal-8
-
-https://drupal.stackexchange.com/questions/164612/how-do-i-remove-a-configuration-object-from-the-active-configuration
-
-https://www.metaltoad.com/blog/drupal-8-migrations-part-3-migrating-taxonomies-drupal-7
-
-https://www.sitepoint.com/your-first-drupal-8-migration/
-
-https://evolvingweb.ca/blog/drupal-8-migration-migrating-taxonomy-term-references-part-2
-
-[text to taxonomy term](http://boylesoftware.com/blog/drupal-8-migration-taxonomy-term-lookups/)
-
-[Upgrading Drupal 6 and i18n Content Translation to Drupal 8](https://www.dunix-data.de/blog/upgrading_drupal_6_and_i18n_content_translation_to_drupal_8)
-
-[Migrating Drupal 7 File Entities to Drupal 8 Media Entities](https://www.previousnext.com.au/blog/migrating-drupal-7-file-entities-drupal-8-media-entities)
-
-[D6 Taxonomy Term Reference Field is not migrated to D8 Field](https://www.drupal.org/node/2884240)
-
-[Migrer un site Drupal 6 ou Drupal 7 vers Drupal 8](https://www.drupalfacile.org/sites/drupalfacile/files/blog/2016/06/dcnantes2016-migrerd6d7versd8.pdf)
-
-[Migrating Aliases and Redirects to Drupal 8](https://evolvingweb.ca/blog/migrating-aliases-and-redirects-drupal-8)
-
-[Migrating Drupal 7 redirects to Drupal 8](http://activelamp.com/blog/drupal/migrating-drupal-8-redirects/)

+ 0 - 230
web/modules/custom/edlp_migrate/src/Plugin/migrate/source/D6EdlpCorpus.php

@@ -1,230 +0,0 @@
-<?php
-
-namespace Drupal\edlp_migrate\Plugin\migrate\source;
-
-use Drupal\migrate\Row;
-use Drupal\node\Plugin\migrate\source\d6\Node as D6Node;
-
-/**
- * Source plugin for edlp corpus migration.
- *
- * @MigrateSource(
- *   id = "d6_edlp_corpus"
- * )
- */
-class D6EdlpCorpus extends D6Node {
-
-
-  /**
-   * {@inheritdoc}
-   */
-  public function query() {
-    $query = $this->select('node_revisions', 'nr');
-    $query->innerJoin('node', 'n', static::JOIN);
-    $this->handleTranslations($query);
-
-    $query->fields('n', [
-        'nid',
-        'type',
-        'language',
-        'status',
-        'created',
-        'changed',
-        'comment',
-        'promote',
-        'moderate',
-        'sticky',
-        'tnid',
-        'translate',
-      ])
-      ->fields('nr', [
-        'title',
-        'body',
-        'teaser',
-        'log',
-        'timestamp',
-        'format',
-        'vid',
-      ]);
-    $query->addField('n', 'uid', 'node_uid');
-    $query->addField('nr', 'uid', 'revision_uid');
-
-    // If the content_translation module is enabled, get the source langcode
-    // to fill the content_translation_source field.
-    if ($this->moduleHandler->moduleExists('content_translation')) {
-      $query->leftJoin('node', 'nt', 'n.tnid = nt.nid');
-      $query->addField('nt', 'language', 'source_langcode');
-    }
-
-    if (isset($this->configuration['node_type'])) {
-      $query->condition('n.type', $this->configuration['node_type']);
-    }
-
-    return $query;
-  }
-
-
-  /**
-   * {@inheritdoc}
-   */
-  public function fields() {
-
-    $fields = [
-      'nid' => $this->t('Node ID'),
-      'type' => $this->t('Type'),
-      'title' => $this->t('Title'),
-      'body' => $this->t('Body'),
-      'format' => $this->t('Format'),
-      'teaser' => $this->t('Teaser'),
-      'node_uid' => $this->t('Node authored by (uid)'),
-      'revision_uid' => $this->t('Revision authored by (uid)'),
-      'created' => $this->t('Created timestamp'),
-      'changed' => $this->t('Modified timestamp'),
-      'status' => $this->t('Published'),
-      'promote' => $this->t('Promoted to front page'),
-      'sticky' => $this->t('Sticky at top of lists'),
-      'revision' => $this->t('Create new revision'),
-      'language' => $this->t('Language (fr, en, ...)'),
-      'tnid' => $this->t('The translation set id for this node'),
-      'timestamp' => $this->t('The timestamp the latest revision of this node was created.'),
-    ];
-    return $fields;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function prepareRow(Row $row) {
-    drush_print(' ');
-    drush_print('- - - - - - - - - - - - - - - - - - - - - - - -');
-    drush_print($row->getSourceProperty('title'));
-
-
-    // format = 0 can happen when the body field is hidden. Set the format to 1
-    // to avoid migration map issues (since the body field isn't used anyway).
-    if ($row->getSourceProperty('format') === '0') {
-      $row->setSourceProperty('format', $this->filterDefaultFormat);
-    }
-
-    if ($this->moduleExists('content') && $this->getModuleSchemaVersion('content') >= 6001) {
-      foreach ($this->getFieldValues($row) as $field => $values) {
-        $row->setSourceProperty($field, $values);
-      }
-    }
-    $row_nid = $row->getSourceProperty('nid');
-
-
-    // Make sure we always have a translation set.
-    if ($row->getSourceProperty('tnid') == 0) {
-      $row->setSourceProperty('tnid', $row_nid);
-    }
-    // get the article content
-    // drush_print_r($row->getSourceProperty('field_article'));
-    $article_nid = $row->getSourceProperty('field_article')[0]['nid'];
-    if($article_nid){
-      // drush_print($article_nid);
-      $query = $this->select('content_type_episode', 'ctp');
-      // // $query->fields('cte', ['field_entree_value']);
-      $query->condition('ctp.nid', $article_nid);
-      $query->join('node_revisions', 'nr', 'nr.vid = ctp.vid');
-      $query->addField('nr', 'body');
-      $article = $query->execute()
-        ->fetchField();
-      // drush_print_r($article);
-      $row->setSourceProperty('article', $article);
-    }
-
-    // get the entree values
-    $query = $this->select('term_node', 'tn');
-    // $query->fields('cte', ['field_entree_value']);
-    $query->condition('tn.nid', $row_nid);
-    $query->join('term_data', 'td', 'td.tid = tn.tid');
-    $query->condition('td.vid', 2); // vid of voc entrees
-    $query->addField('tn', 'tid');
-    $query->distinct();
-    $results = $query->execute()->fetchAll();
-
-    $entrees = [];
-    foreach ($results as $key => $value) {
-      $entrees[] = array($value['tid']);
-    }
-    $row->setSourceProperty('entrees', $entrees);
-
-    // Genres
-    $genres = [];
-    foreach ($row->getSourceProperty('field_genre') as $key => $value) {
-      $genres[] = array($value['value']);
-    }
-    $row->setSourceProperty('genres', $genres);
-
-    $langues = [];
-    foreach ($row->getSourceProperty('field_langue') as $key => $value) {
-      $langues[] = array($value['value']);
-    }
-    $row->setSourceProperty('langues', $langues);
-
-    // locuteurs
-    $locuteurs = [];
-    foreach ($row->getSourceProperty('field_artiste') as $key => $value) {
-      $term_name = $value['value'];
-      // check if term already exists in configured vocabulary
-      $term = array_shift(taxonomy_term_load_multiple_by_name($term_name, 'locuteurs'));
-      if(!$term){
-        // if not create the term and get the tid
-        $term = \Drupal\taxonomy\Entity\Term::create([
-              'vid' => 'locuteurs',
-              'name' => $term_name,
-            ]);
-        $term->save();
-      }
-      // record the tid in array
-      $locuteurs[] = $term->get('tid')->value;
-    }
-    $row->setSourceProperty('locuteurs', $locuteurs);
-
-    // collectionneurs
-    $collectionneurs = [];
-    foreach ($row->getSourceProperty('field_compositeur') as $key => $value) {
-      $term_name = $value['value'];
-      // check if term already exists in configured vocabulary
-      $term = array_shift(taxonomy_term_load_multiple_by_name($term_name, 'collectionneurs'));
-      if(!$term){
-        // if not create the term and get the tid
-        $term = \Drupal\taxonomy\Entity\Term::create([
-              'vid' => 'collectionneurs',
-              'name' => $term_name,
-            ]);
-        $term->save();
-      }
-      // record the tid in array
-      $collectionneurs[] = $term->get('tid')->value;
-    }
-    $row->setSourceProperty('collectionneurs', $collectionneurs);
-
-    // son
-    // drush_print('field_mp3 : ', 0, null, false);
-    // drush_print_r($row->getSourceProperty('field_mp3'));
-    $sons = [];
-    foreach ($row->getSourceProperty('field_mp3') as $key => $value) {
-      $sons[] = array($value['fid']);
-    }
-    $row->setSourceProperty('sons_fid', $sons);
-
-    // get the workflow state (will be converted on status)
-    $query = $this->select('workflow_node', 'wn');
-    $query->fields('wn', ['sid']);
-    $query->condition('wn.nid', $row_nid);
-    $results = $query->execute()->fetchField();
-
-    // drush_print('workflow query results : ', 0, null, false);
-    // drush_print_r($results);
-
-    // $row->setSourceProperty('workflow', $results);
-
-
-    $row = parent::prepareRow($row);
-    return $row;
-  }
-
-
-}

+ 0 - 144
web/modules/custom/edlp_migrate/src/Plugin/migrate/source/D6EdlpEvenements.php

@@ -1,144 +0,0 @@
-<?php
-
-namespace Drupal\edlp_migrate\Plugin\migrate\source;
-
-use Drupal\migrate\Row;
-use Drupal\node\Plugin\migrate\source\d6\Node as D6Node;
-
-/**
- * Source plugin for edlp corpus migration.
- *
- * @MigrateSource(
- *   id = "d6_edlp_evenements"
- * )
- */
-class D6EdlpEvenements extends D6Node {
-
-
-  /**
-   * {@inheritdoc}
-   */
-  public function query() {
-    $query = $this->select('node_revisions', 'nr');
-    $query->innerJoin('node', 'n', static::JOIN);
-    $this->handleTranslations($query);
-
-    $query->fields('n', [
-        'nid',
-        'type',
-        'language',
-        'status',
-        'created',
-        'changed',
-        'comment',
-        'promote',
-        'moderate',
-        'sticky',
-        'tnid',
-        'translate',
-      ])
-      ->fields('nr', [
-        'title',
-        'body',
-        'teaser',
-        'log',
-        'timestamp',
-        'format',
-        'vid',
-      ]);
-    $query->addField('n', 'uid', 'node_uid');
-    $query->addField('nr', 'uid', 'revision_uid');
-
-    // If the content_translation module is enabled, get the source langcode
-    // to fill the content_translation_source field.
-    if ($this->moduleHandler->moduleExists('content_translation')) {
-      $query->leftJoin('node', 'nt', 'n.tnid = nt.nid');
-      $query->addField('nt', 'language', 'source_langcode');
-    }
-
-    if (isset($this->configuration['node_type'])) {
-      $query->condition('n.type', $this->configuration['node_type']);
-    }
-
-    return $query;
-  }
-
-
-  /**
-   * {@inheritdoc}
-   */
-  public function fields() {
-
-    $fields = [
-      'nid' => $this->t('Node ID'),
-      'type' => $this->t('Type'),
-      'title' => $this->t('Title'),
-      'body' => $this->t('Body'),
-      'format' => $this->t('Format'),
-      'teaser' => $this->t('Teaser'),
-      'node_uid' => $this->t('Node authored by (uid)'),
-      'revision_uid' => $this->t('Revision authored by (uid)'),
-      'created' => $this->t('Created timestamp'),
-      'changed' => $this->t('Modified timestamp'),
-      'status' => $this->t('Published'),
-      'promote' => $this->t('Promoted to front page'),
-      'sticky' => $this->t('Sticky at top of lists'),
-      'revision' => $this->t('Create new revision'),
-      'language' => $this->t('Language (fr, en, ...)'),
-      'tnid' => $this->t('The translation set id for this node'),
-      'timestamp' => $this->t('The timestamp the latest revision of this node was created.'),
-    ];
-    return $fields;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function prepareRow(Row $row) {
-    drush_print(' ');
-    drush_print('- - - - - - - - - - - - - - - - - - - - - - - -');
-    drush_print($row->getSourceProperty('title'));
-
-
-    // format = 0 can happen when the body field is hidden. Set the format to 1
-    // to avoid migration map issues (since the body field isn't used anyway).
-    if ($row->getSourceProperty('format') === '0') {
-      $row->setSourceProperty('format', $this->filterDefaultFormat);
-    }
-
-    if ($this->moduleExists('content') && $this->getModuleSchemaVersion('content') >= 6001) {
-      foreach ($this->getFieldValues($row) as $field => $values) {
-        $row->setSourceProperty($field, $values);
-      }
-    }
-    $row_nid = $row->getSourceProperty('nid');
-
-    // Make sure we always have a translation set.
-    if ($row->getSourceProperty('tnid') == 0) {
-      $row->setSourceProperty('tnid', $row_nid);
-    }
-
-    // date
-    $date_field = $row->getSourceProperty('field_date');
-    $date_value = $date_field[0]['value'];
-    drush_print($date_value);
-
-    $row->setSourceProperty('date', $date_value);
-
-    // get the workflow status
-    $query = $this->select('workflow_node', 'wn');
-    $query->fields('wn', ['sid']);
-    $query->condition('wn.nid', $row_nid);
-    $results = $query->execute()->fetchField();
-    // drush_print('workflow query results : ', 0, null, false);
-    // drush_print_r($results);
-    $row->setSourceProperty('workflow', $results);
-
-    // TODO: fichiers attachés ??
-
-    $row = parent::prepareRow($row);
-    return $row;
-  }
-
-
-}

+ 0 - 111
web/modules/custom/edlp_migrate/src/Plugin/migrate/source/D6EdlpFile.php

@@ -1,111 +0,0 @@
-<?php
-
-namespace Drupal\edlp_migrate\Plugin\migrate\source;
-
-use Drupal\migrate\Row;
-use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase;
-
-/**
- * Drupal 6 file source from database.
- *
- * @MigrateSource(
- *   id = "d6_edlp_file"
- * )
- */
-class D6EdlpFile extends DrupalSqlBase {
-
-  /**
-   * The file directory path.
-   *
-   * @var string
-   */
-  protected $filePath;
-
-  /**
-   * The temporary file path.
-   *
-   * @var string
-   */
-  protected $tempFilePath;
-
-  /**
-   * Flag for private or public file storage.
-   *
-   * @var bool
-   */
-  protected $isPublic;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function query() {
-    return $this->select('files', 'f')
-      ->fields('f')
-      ->orderBy('timestamp')
-      // If two or more files have the same timestamp, they'll end up in a
-      // non-deterministic order. Ordering by fid (or any other unique field)
-      // will prevent this.
-      ->orderBy('f.fid');
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  protected function initializeIterator() {
-    $site_path = isset($this->configuration['site_path']) ? $this->configuration['site_path'] : 'sites/default';
-    // $filepath = $this->variableGet('file_directory_path', $site_path . '/files') . '/';
-    // $filepath = str_replace('//', '/', $filepath);
-    // drush_print('filepath : '.$filepath);
-    $this->filePath = $this->variableGet('file_directory_path', $site_path . '/files') . '/';
-
-    $this->tempFilePath = $this->variableGet('file_directory_temp', '/tmp') . '/';
-
-    // FILE_DOWNLOADS_PUBLIC == 1 and FILE_DOWNLOADS_PRIVATE == 2.
-    $this->isPublic = $this->variableGet('file_downloads', 1) == 1;
-    return parent::initializeIterator();
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function prepareRow(Row $row) {
-    drush_print("D6EdlpFile");
-    // drush_print_r($row);
-
-    $filepath = $row->getSourceProperty('filepath');
-    $filepath = str_replace('//', '/', $filepath);
-    $filepath = preg_replace('/^\//', '', $filepath);
-    drush_print('filePath : '.$filepath);
-    $row->setSourceProperty('filepath', $filepath);
-
-    $row->setSourceProperty('file_directory_path', $this->filePath);
-    $row->setSourceProperty('temp_directory_path', $this->tempFilePath);
-    $row->setSourceProperty('is_public', $this->isPublic);
-    return parent::prepareRow($row);
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function fields() {
-    return [
-      'fid' => $this->t('File ID'),
-      'uid' => $this->t('The {users}.uid who added the file. If set to 0, this file was added by an anonymous user.'),
-      'filename' => $this->t('File name'),
-      'filepath' => $this->t('File path'),
-      'filemime' => $this->t('File MIME Type'),
-      'status' => $this->t('The published status of a file.'),
-      'timestamp' => $this->t('The time that the file was added.'),
-      'file_directory_path' => $this->t('The Drupal files path.'),
-      'is_public' => $this->t('TRUE if the files directory is public otherwise FALSE.'),
-    ];
-  }
-  /**
-   * {@inheritdoc}
-   */
-  public function getIds() {
-    $ids['fid']['type'] = 'integer';
-    return $ids;
-  }
-
-}

+ 0 - 232
web/modules/custom/edlp_migrate/src/Plugin/migrate/source/D6EdlpPages.php

@@ -1,232 +0,0 @@
-<?php
-
-namespace Drupal\edlp_migrate\Plugin\migrate\source;
-
-use Drupal\Core\Database\Database;
-use Drupal\migrate\Row;
-use Drupal\node\Plugin\migrate\source\d6\Node as D6Node;
-
-/**
- * Source plugin for edlp corpus migration.
- *
- * @MigrateSource(
- *   id = "d6_edlp_pages"
- * )
- */
-class D6EdlpPages extends D6Node {
-
-
-  /**
-   * {@inheritdoc}
-   */
-  public function query() {
-    $query = $this->select('node_revisions', 'nr');
-    $query->innerJoin('node', 'n', static::JOIN);
-    $this->handleTranslations($query);
-
-    $query->fields('n', [
-        'nid',
-        'type',
-        'language',
-        'status',
-        'created',
-        'changed',
-        'comment',
-        'promote',
-        'moderate',
-        'sticky',
-        'tnid',
-        'translate',
-      ])
-      ->fields('nr', [
-        'title',
-        'body',
-        'teaser',
-        'log',
-        'timestamp',
-        'format',
-        'vid',
-      ]);
-    $query->addField('n', 'uid', 'node_uid');
-    $query->addField('nr', 'uid', 'revision_uid');
-
-    // If the content_translation module is enabled, get the source langcode
-    // to fill the content_translation_source field.
-    if ($this->moduleHandler->moduleExists('content_translation')) {
-      $query->leftJoin('node', 'nt', 'n.tnid = nt.nid');
-      $query->addField('nt', 'language', 'source_langcode');
-    }
-
-    if (isset($this->configuration['node_type'])) {
-      $query->condition('n.type', $this->configuration['node_type']);
-    }
-
-    return $query;
-  }
-
-
-  /**
-   * {@inheritdoc}
-   */
-  public function fields() {
-
-    $fields = [
-      'nid' => $this->t('Node ID'),
-      'type' => $this->t('Type'),
-      'title' => $this->t('Title'),
-      'body' => $this->t('Body'),
-      'format' => $this->t('Format'),
-      'teaser' => $this->t('Teaser'),
-      'node_uid' => $this->t('Node authored by (uid)'),
-      'revision_uid' => $this->t('Revision authored by (uid)'),
-      'created' => $this->t('Created timestamp'),
-      'changed' => $this->t('Modified timestamp'),
-      'status' => $this->t('Published'),
-      'promote' => $this->t('Promoted to front page'),
-      'sticky' => $this->t('Sticky at top of lists'),
-      'revision' => $this->t('Create new revision'),
-      'language' => $this->t('Language (fr, en, ...)'),
-      'tnid' => $this->t('The translation set id for this node'),
-      'timestamp' => $this->t('The timestamp the latest revision of this node was created.'),
-    ];
-    return $fields;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function prepareRow(Row $row) {
-    drush_print(' ');
-    drush_print('- - - - - - - - - - - - - - - - - - - - - - - -');
-    drush_print($row->getSourceProperty('title'));
-
-
-    // format = 0 can happen when the body field is hidden. Set the format to 1
-    // to avoid migration map issues (since the body field isn't used anyway).
-    if ($row->getSourceProperty('format') === '0') {
-      $row->setSourceProperty('format', $this->filterDefaultFormat);
-    }
-
-    if ($this->moduleExists('content') && $this->getModuleSchemaVersion('content') >= 6001) {
-      foreach ($this->getFieldValues($row) as $field => $values) {
-        $row->setSourceProperty($field, $values);
-      }
-    }
-    $row_nid = $row->getSourceProperty('nid');
-
-
-    // Make sure we always have a translation set.
-    if ($row->getSourceProperty('tnid') == 0) {
-      $row->setSourceProperty('tnid', $row_nid);
-    }
-
-    // get the entree values
-    $query = $this->select('term_node', 'tn');
-    // $query->fields('cte', ['field_entree_value']);
-    $query->condition('tn.nid', $row_nid);
-    $query->join('term_data', 'td', 'td.tid = tn.tid');
-    $query->condition('td.vid', 2); // vid of voc entrees
-    $query->addField('tn', 'tid');
-    $query->distinct();
-    $results = $query->execute()->fetchAll();
-    $entrees = [];
-    foreach ($results as $key => $value) {
-      $entrees[] = array($value['tid']);
-    }
-    $row->setSourceProperty('entrees', $entrees);
-
-    // Page type
-    $query = $this->select('term_node', 'tn');
-    $query->condition('tn.nid', $row_nid);
-    $query->join('term_data', 'td', 'td.tid = tn.tid');
-    $query->condition('td.vid', 1); // vid of voc page type
-    $query->addField('tn', 'tid');
-    $query->distinct();
-    $results = $query->execute()->fetchAll();
-    $pagetype = [];
-    foreach ($results as $key => $value) {
-      // avoid notice type (tid 8)
-      // row will be skiped if empty
-      if($value['tid'] !== "8"){
-        drush_print('page type : '.$value['tid']);
-        $pagetype[] = array($value['tid']);
-      }else{
-        drush_print('----- NOTICE -----');
-      }
-    }
-    drush_print('pagetype empty : '.empty($pagetype));
-    // if(count($pagetype) < 1){
-    //   $pagetype = FALSE;
-    // }
-    $row->setSourceProperty('page_type', !empty($pagetype) ? $pagetype : 0);
-
-    // son
-    // TODO: pour les pieces sonores les fichiers ne sont pas enregistrés dans le champ car trop lourd. Ils sont sous forme de lien dans le corps du texte. Comment normaliser ça ??
-    // $sons = [];
-    // foreach ($row->getSourceProperty('field_mp3') as $key => $value) {
-    //   $sons[] = array($value['fid']);
-    // }
-    // $row->setSourceProperty('sons_fid', $sons);
-    $body = $row->getSourceProperty('body');
-    preg_match_all('/href="(\/?sons\/[^"]+)"/', $body, $links);
-    if(isset($links[1][0])){
-      // drush_print('links : ', 0, null, false);
-      // drush_print_r($links);
-      $path = preg_replace('/^\//', '', $links[1][0]);
-      // find the source path
-      $query = $this->select('url_alias', 'ua');
-      $query->condition('dst', $path);
-      $query->addField('ua', 'src');
-      $src = $query->execute()->fetchField();
-      // drush_print('src : ', 0, null, false);
-      // drush_print_r($src);
-      if($src){
-        // get the nid
-        $nid = str_replace('node/', '', $src);
-        // drush_print('nid : ', 0, null, false);
-        // drush_print_r($nid);
-        // find the new nid of the enregistrement (corpus item) from migration map
-        // get the d6_edlp_migration
-        // TODO: is this working for both corpus and sons elements ??
-        $new_nid = Database::getConnection('default', 'default')
-          ->select('migrate_map_d6_edlp_sons', 'm')
-          ->fields('m', ['destid1'])
-          ->condition('sourceid1', $nid)
-          ->execute()
-          ->fetchField();
-        // drush_print('new_nid : ', 0, null, false);
-        // drush_print_r($new_nid);
-        if($new_nid){
-          $body = str_replace($path, "node/".$new_nid, $body);
-        }
-      }else{
-        // drush_print('no source for path : ', 0, null, false);
-        // drush_print_r($path);
-      }
-    }
-    $row->setSourceProperty('body', $body);
-
-    // visuel
-    $visuels = [];
-    foreach ($row->getSourceProperty('field_visuel') as $key => $value) {
-      $visuels[] = array($value['fid']);
-    }
-    $row->setSourceProperty('visuels_fid', $visuels);
-
-    // get the workflow status
-    $query = $this->select('workflow_node', 'wn');
-    $query->fields('wn', ['sid']);
-    $query->condition('wn.nid', $row_nid);
-    $results = $query->execute()->fetchField();
-    // drush_print('workflow query results : ', 0, null, false);
-    // drush_print_r($results);
-    $row->setSourceProperty('workflow', $results);
-
-    // fichiers attachés ??
-
-    $row = parent::prepareRow($row);
-    return $row;
-  }
-
-
-}

+ 0 - 193
web/modules/custom/edlp_migrate/src/Plugin/migrate/source/D6EdlpSons.php

@@ -1,193 +0,0 @@
-<?php
-
-namespace Drupal\edlp_migrate\Plugin\migrate\source;
-
-use Drupal\migrate\Row;
-use Drupal\node\Plugin\migrate\source\d6\Node as D6Node;
-
-/**
- * Source plugin for edlp corpus migration.
- *
- * @MigrateSource(
- *   id = "d6_edlp_sons"
- * )
- */
-class D6EdlpSons extends D6Node {
-
-
-  /**
-   * {@inheritdoc}
-   */
-  public function query() {
-    $query = $this->select('node_revisions', 'nr');
-    $query->innerJoin('node', 'n', static::JOIN);
-    $this->handleTranslations($query);
-
-    $query->fields('n', [
-        'nid',
-        'type',
-        'language',
-        'status',
-        'created',
-        'changed',
-        'comment',
-        'promote',
-        'moderate',
-        'sticky',
-        'tnid',
-        'translate',
-      ])
-      ->fields('nr', [
-        'title',
-        'body',
-        'teaser',
-        'log',
-        'timestamp',
-        'format',
-        'vid',
-      ]);
-    $query->addField('n', 'uid', 'node_uid');
-    $query->addField('nr', 'uid', 'revision_uid');
-
-    // If the content_translation module is enabled, get the source langcode
-    // to fill the content_translation_source field.
-    if ($this->moduleHandler->moduleExists('content_translation')) {
-      $query->leftJoin('node', 'nt', 'n.tnid = nt.nid');
-      $query->addField('nt', 'language', 'source_langcode');
-    }
-
-    if (isset($this->configuration['node_type'])) {
-      $query->condition('n.type', $this->configuration['node_type']);
-    }
-
-    return $query;
-  }
-
-
-  /**
-   * {@inheritdoc}
-   */
-  public function fields() {
-
-    $fields = [
-      'nid' => $this->t('Node ID'),
-      'type' => $this->t('Type'),
-      'title' => $this->t('Title'),
-      'body' => $this->t('Body'),
-      'format' => $this->t('Format'),
-      'teaser' => $this->t('Teaser'),
-      'node_uid' => $this->t('Node authored by (uid)'),
-      'revision_uid' => $this->t('Revision authored by (uid)'),
-      'created' => $this->t('Created timestamp'),
-      'changed' => $this->t('Modified timestamp'),
-      'status' => $this->t('Published'),
-      'promote' => $this->t('Promoted to front page'),
-      'sticky' => $this->t('Sticky at top of lists'),
-      'revision' => $this->t('Create new revision'),
-      'language' => $this->t('Language (fr, en, ...)'),
-      'tnid' => $this->t('The translation set id for this node'),
-      'timestamp' => $this->t('The timestamp the latest revision of this node was created.'),
-    ];
-    return $fields;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function prepareRow(Row $row) {
-    drush_print(' ');
-    drush_print('- - - - - - - - - - - - - - - - - - - - - - - -');
-    drush_print($row->getSourceProperty('title'));
-
-
-    // format = 0 can happen when the body field is hidden. Set the format to 1
-    // to avoid migration map issues (since the body field isn't used anyway).
-    if ($row->getSourceProperty('format') === '0') {
-      $row->setSourceProperty('format', $this->filterDefaultFormat);
-    }
-
-    if ($this->moduleExists('content') && $this->getModuleSchemaVersion('content') >= 6001) {
-      foreach ($this->getFieldValues($row) as $field => $values) {
-        $row->setSourceProperty($field, $values);
-      }
-    }
-    $row_nid = $row->getSourceProperty('nid');
-
-
-    // Make sure we always have a translation set.
-    if ($row->getSourceProperty('tnid') == 0) {
-      $row->setSourceProperty('tnid', $row_nid);
-    }
-
-    // Genres
-    $genres = [];
-    foreach ($row->getSourceProperty('field_genre') as $key => $value) {
-      $genres[] = array($value['value']);
-    }
-    $row->setSourceProperty('genres', $genres);
-
-    // locuteurs
-    $locuteurs = [];
-    foreach ($row->getSourceProperty('field_artiste') as $key => $value) {
-      $term_name = $value['value'];
-      // check if term already exists in configured vocabulary
-      $term = array_shift(taxonomy_term_load_multiple_by_name($term_name, 'locuteurs'));
-      if(!$term){
-        // if not create the term and get the tid
-        $term = \Drupal\taxonomy\Entity\Term::create([
-              'vid' => 'locuteurs',
-              'name' => $term_name,
-            ]);
-        $term->save();
-      }
-      // record the tid in array
-      $locuteurs[] = $term->get('tid')->value;
-    }
-    $row->setSourceProperty('locuteurs', $locuteurs);
-
-    // collectionneurs
-    $collectionneurs = [];
-    foreach ($row->getSourceProperty('field_compositeur') as $key => $value) {
-      $term_name = $value['value'];
-      // check if term already exists in configured vocabulary
-      $term = array_shift(taxonomy_term_load_multiple_by_name($term_name, 'collectionneurs'));
-      if(!$term){
-        // if not create the term and get the tid
-        $term = \Drupal\taxonomy\Entity\Term::create([
-              'vid' => 'collectionneurs',
-              'name' => $term_name,
-            ]);
-        $term->save();
-      }
-      // record the tid in array
-      $collectionneurs[] = $term->get('tid')->value;
-    }
-    $row->setSourceProperty('collectionneurs', $collectionneurs);
-
-    // son
-    // drush_print('field_mp3 : ', 0, null, false);
-    // drush_print_r($row->getSourceProperty('field_mp3'));
-    $sons = [];
-    foreach ($row->getSourceProperty('field_mp3') as $key => $value) {
-      $sons[] = array($value['fid']);
-    }
-    $row->setSourceProperty('sons_fid', $sons);
-
-    // get the workflow state (will be converted on status)
-    $query = $this->select('workflow_node', 'wn');
-    $query->fields('wn', ['sid']);
-    $query->condition('wn.nid', $row_nid);
-    $results = $query->execute()->fetchField();
-
-    // drush_print('workflow query results : ', 0, null, false);
-    // drush_print_r($results);
-
-    $row->setSourceProperty('workflow', $results);
-
-
-    $row = parent::prepareRow($row);
-    return $row;
-  }
-
-
-}

+ 0 - 169
web/modules/custom/edlp_migrate/src/Plugin/migrate/source/D6EdlpTaxonomyTermEntree.php

@@ -1,169 +0,0 @@
-<?php
-
-namespace Drupal\edlp_migrate\Plugin\migrate\source;
-
-use Drupal\Core\Database\Database;
-use Drupal\migrate\Row;
-use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase;
-
-/**
- * D6 Edlp Taxonomy Entree term source from database.
- *
- * @MigrateSource(
- *   id = "d6_edlp_taxonomy_term_entree"
- * )
- */
-class D6EdlpTaxonomyTermEntree extends DrupalSqlBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public function query() {
-    // drush_print('D6EdlpTaxonomyTermEntree query');
-
-    $query = $this->select('term_data', 'td')
-      ->fields('td')
-      ->distinct()
-      ->orderBy('td.tid');
-
-    if (isset($this->configuration['bundle'])) {
-      $query->condition('td.vid', (array) $this->configuration['bundle'], 'IN');
-    }
-
-    return $query;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function fields() {
-    $fields = [
-      'tid' => $this->t('The term ID.'),
-      'vid' => $this->t('Existing term VID'),
-      'name' => $this->t('The name of the term.'),
-      'description' => $this->t('The term description.'),
-      'weight' => $this->t('Weight'),
-      'parent' => $this->t("The Drupal term IDs of the term's parents."),
-      'node_nid' => $this->t("The node's nid of entree's description."),
-    ];
-    if (isset($this->configuration['translations'])) {
-      $fields['language'] = $this->t('The term language.');
-      $fields['trid'] = $this->t('Translation ID.');
-    }
-    // print_r($fields);
-    // print_r("\n");
-
-    return $fields;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function prepareRow(Row $row) {
-    // drush_print_r($row);
-    // Find parents for this row.
-    $parents = $this->select('term_hierarchy', 'th')
-      ->fields('th', ['parent', 'tid'])
-      ->condition('tid', $row->getSourceProperty('tid'))
-      ->execute()
-      ->fetchCol();
-    $row->setSourceProperty('parent', $parents);
-
-    // find node attached to this term for description
-    $query = $this->select('content_type_entree', 'cte');
-    // $query->fields('cte', ['nid', 'vid', 'field_entree_value']);
-    $query->condition('cte.field_entree_value', $row->getSourceProperty('tid'));
-    $query->join('node_revisions', 'nr', 'cte.nid = nr.nid');
-    $query->addField('nr', 'body');
-    $description = $query->execute()
-      ->fetchField();
-    // drush_print_r($node);
-    // empty enties to keep migrate
-    $empty_entries = array(267, 291, 309, 310);
-
-    if($description == "" && in_array($row->getSourceProperty('tid'), $empty_entries)){
-      $description = "a remplir";
-    }
-
-    $row->setSourceProperty('description', $description);
-
-    // get the node type page:notice from source and add it to notice field
-    // find node attached to this term for description
-    // get all notice
-    $query = $this->select('term_node', 'tn');
-    $query->condition('tn.tid', 8 ); // page type notice tid
-    $query->addField('tn', 'nid');
-    $notices_nids = $query->execute()->fetchCol();
-
-    // get all nodes taged with the current entree
-    $query = $this->select('term_node', 'tn');
-    $query->condition('tn.tid', $row->getSourceProperty('tid'));
-    $query->addField('tn', 'nid');
-    $nodes_nids = $query->execute()->fetchCol();
-
-    $notice_nid = array_shift(array_intersect($notices_nids, $nodes_nids));
-    // drush_print('notice_nid : ', 0, null, false);
-    // drush_print_r($notice_nid);
-    $query = $this->select('node_revisions', 'nr');
-    $query->condition('nr.nid', $notice_nid ); // page type notice tid
-    $query->addField('nr', 'body');
-    $notices_body = $query->execute()->fetchField();
-    // drush_print('notices_body : ', 0, null, false);
-    // drush_print_r($notices_body);
-
-    // convert inner text links to internal nodes to new url
-    preg_match_all('/href="(\/?corpus\/[^"]+)"/', $notices_body, $links);
-    // drush_print('links : ', 0, null, false);
-    // drush_print_r($links);
-    foreach ($links[1] as $key => $path) {
-      $path = preg_replace('/^\//', '', $path);
-      // drush_print('path : ', 0, null, false);
-      // drush_print_r($path);
-
-      // find the source path
-      $query = $this->select('url_alias', 'ua');
-      $query->condition('dst', $path);
-      $query->addField('ua', 'src');
-      $src = $query->execute()->fetchField();
-      // drush_print('src : ', 0, null, false);
-      // drush_print_r($src);
-      if($src){
-        // get the nid
-        $nid = str_replace('node/', '', $src);
-        // drush_print('nid : ', 0, null, false);
-        // drush_print_r($nid);
-        // find the new nid of the enregistrement (corpus item) from migration map
-        // get the d6_edlp_migration
-        // drush_print_r($this->migration->getIdMap()->lookupDestinationId(array($nid)));
-        $new_nid = Database::getConnection('default', 'default')
-          ->select('migrate_map_d6_edlp_corpus', 'm')
-          ->fields('m', ['destid1'])
-          ->condition('sourceid1', $nid)
-          ->execute()
-          ->fetchField();
-        // drush_print('new_nid : ', 0, null, false);
-        // drush_print_r($new_nid);
-        if($new_nid){
-          $notices_body = str_replace($path, "node/".$new_nid, $notices_body);
-        }
-      }else{
-        drush_print('no source for path : ', 0, null, false);
-        drush_print_r($path);
-      }
-
-    }
-
-    $row->setSourceProperty('notice', $notices_body);
-
-    return parent::prepareRow($row);
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getIds() {
-    $ids['tid']['type'] = 'integer';
-    return $ids;
-  }
-
-}

+ 0 - 132
web/modules/custom/edlp_migrate/src/Plugin/migrate/source/D6EdlpUsers.php

@@ -1,132 +0,0 @@
-<?php
-
-namespace Drupal\edlp_migrate\Plugin\migrate\source;
-
-use Drupal\migrate\Row;
-use Drupal\user\Plugin\migrate\source\d6\User as D6User;
-
-/**
- * Source plugin for edlp user accounts.
- *
- * @MigrateSource(
- *   id = "d6_edlp_users"
- * )
- */
-class D6EdlpUsers extends D6User {
-
-  /**
-   * {@inheritdoc}
-   */
-  public function query() {
-    return $this->select('users', 'u')
-      ->fields('u', array_keys($this->baseFields()))
-      ->condition('u.uid', 0, '>');
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function fields() {
-    $fields = $this->baseFields();
-
-    // Add roles field.
-    $fields['roles'] = $this->t('Roles');
-
-    // Profile fields.
-    if ($this->moduleExists('profile')) {
-      $fields += $this->select('profile_fields', 'pf')
-        ->fields('pf', ['name', 'title'])
-        ->execute()
-        ->fetchAllKeyed();
-    }
-
-    return $fields;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function prepareRow(Row $row) {
-    // User roles.
-    $roles = $this->select('users_roles', 'ur')
-      ->fields('ur', ['rid'])
-      ->condition('ur.uid', $row->getSourceProperty('uid'))
-      ->execute()
-      ->fetchCol();
-    $row->setSourceProperty('roles', $roles);
-
-    // We are adding here the Event contributed module column.
-    // @see https://api.drupal.org/api/drupal/modules%21user%21user.install/function/user_update_7002/7
-    if ($row->hasSourceProperty('timezone_id') && $row->getSourceProperty('timezone_id')) {
-      if ($this->getDatabase()->schema()->tableExists('event_timezones')) {
-        $event_timezone = $this->select('event_timezones', 'e')
-          ->fields('e', ['name'])
-          ->condition('e.timezone', $row->getSourceProperty('timezone_id'))
-          ->execute()
-          ->fetchField();
-        if ($event_timezone) {
-          $row->setSourceProperty('event_timezone', $event_timezone);
-        }
-      }
-    }
-
-    // Unserialize Data.
-    $row->setSourceProperty('data', unserialize($row->getSourceProperty('data')));
-
-    return parent::prepareRow($row);
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getIds() {
-    return [
-      'uid' => [
-        'type' => 'integer',
-        'alias' => 'u',
-      ],
-    ];
-  }
-
-  /**
-   * Returns the user base fields to be migrated.
-   *
-   * @return array
-   *   Associative array having field name as key and description as value.
-   */
-  protected function baseFields() {
-    $fields = [
-      'uid' => $this->t('User ID'),
-      'name' => $this->t('Username'),
-      'pass' => $this->t('Password'),
-      'mail' => $this->t('Email address'),
-      'theme' => $this->t('Theme'),
-      'signature' => $this->t('Signature'),
-      'signature_format' => $this->t('Signature format'),
-      'created' => $this->t('Registered timestamp'),
-      'access' => $this->t('Last access timestamp'),
-      'login' => $this->t('Last login timestamp'),
-      'status' => $this->t('Status'),
-      'timezone' => $this->t('Timezone'),
-      'language' => $this->t('Language'),
-      'picture' => $this->t('Picture'),
-      'init' => $this->t('Init'),
-      'data' => $this->t('User data'),
-    ];
-
-    // Possible field added by Date contributed module.
-    // @see https://api.drupal.org/api/drupal/modules%21user%21user.install/function/user_update_7002/7
-    if ($this->getDatabase()->schema()->fieldExists('users', 'timezone_name')) {
-      $fields['timezone_name'] = $this->t('Timezone (Date)');
-    }
-
-    // Possible field added by Event contributed module.
-    // @see https://api.drupal.org/api/drupal/modules%21user%21user.install/function/user_update_7002/7
-    if ($this->getDatabase()->schema()->fieldExists('users', 'timezone_id')) {
-      $fields['timezone_id'] = $this->t('Timezone (Event)');
-    }
-
-    return $fields;
-  }
-
-}

+ 0 - 103
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_block.yml

@@ -1,103 +0,0 @@
-uuid: c753bc0d-2afe-4551-a18c-807ff5dca454
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_block
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: Blocks
-source:
-  plugin: block
-process:
-  status:
-    plugin: skip_on_empty
-    method: row
-    source: status
-  id:
-    plugin: make_unique_entity_field
-    entity_type: block
-    field: id
-    postfix: _
-    length: 32
-    source: module
-  plugin:
-    -
-      plugin: static_map
-      bypass: true
-      source:
-        - module
-        - delta
-      map:
-        book:
-          - book_navigation
-        comment:
-          - 'views_block:comments_recent-block_1'
-        forum:
-          - forum_active_block
-          - forum_new_block
-        locale:
-          - language_block
-        node:
-          - node_syndicate_block
-        search:
-          - search_form_block
-        statistics:
-          - statistics_popular_block
-        system:
-          - system_powered_by_block
-        user:
-          - user_login_block
-          - 'system_menu_block:tools'
-          - 'views_block:who_s_new-block_1'
-          - 'views_block:who_s_online-who_s_online_block'
-    -
-      plugin: block_plugin_id
-    -
-      plugin: skip_on_empty
-      method: row
-  theme:
-    plugin: block_theme
-    source:
-      - theme
-      - default_theme
-      - admin_theme
-  region:
-    plugin: block_region
-    source:
-      - theme
-      - '@theme'
-      - region
-    map:
-      garland:
-        bartik:
-          header: header
-          footer: footer_fifth
-          left: sidebar_first
-          right: sidebar_second
-    default_value: content
-  weight: weight
-  settings:
-    plugin: block_settings
-    source:
-      - '@plugin'
-      - delta
-      - settings
-      - title
-  visibility:
-    plugin: block_visibility
-    source:
-      - visibility
-      - pages
-      - roles
-    skip_php: true
-destination:
-  plugin: 'entity:block'
-migration_dependencies:
-  required:
-    - upgrade_menu
-    - upgrade_d6_user_role
-  optional: {  }

+ 0 - 33
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_date_formats.yml

@@ -1,33 +0,0 @@
-uuid: 000c667a-afec-4496-ada0-872cdfdc11dd
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_date_formats
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Date format configuration'
-source:
-  plugin: variable_multirow
-  variables:
-    - date_format_long
-    - date_format_medium
-    - date_format_short
-  source_module: system
-process:
-  id:
-    plugin: static_map
-    source: name
-    map:
-      date_format_long: long
-      date_format_short: short
-      date_format_medium: medium
-  pattern: value
-destination:
-  plugin: 'entity:date_format'
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 25
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_dblog_settings.yml

@@ -1,25 +0,0 @@
-uuid: b39c0d9d-deef-477b-b90d-9f7c8e121050
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_dblog_settings
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Database logging configuration'
-source:
-  plugin: variable
-  variables:
-    - dblog_row_limit
-  source_module: dblog
-process:
-  row_limit: dblog_row_limit
-destination:
-  plugin: config
-  config_name: dblog.settings
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 136
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_field.yml

@@ -1,136 +0,0 @@
-uuid: b8ed99c1-7f9d-4558-b791-627e575505f0
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_field
-class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Field configuration'
-source:
-  plugin: d6_field
-  constants:
-    entity_type: node
-    langcode: en
-process:
-  entity_type: constants/entity_type
-  status: active
-  langcode: constants/langcode
-  field_name: field_name
-  type:
-    plugin: field_type
-    source:
-      - type
-      - widget_type
-    map:
-      userreference:
-        userreference_select: entity_reference
-        userreference_buttons: entity_reference
-        userreference_autocomplete: entity_reference
-      nodereference:
-        nodereference_select: entity_reference
-      number_integer:
-        number: integer
-        optionwidgets_select: list_integer
-        optionwidgets_buttons: list_integer
-        optionwidgets_onoff: boolean
-      number_decimal:
-        number: decimal
-        optionwidgets_select: list_float
-        optionwidgets_buttons: list_float
-        optionwidgets_onoff: boolean
-      number_float:
-        number: float
-        optionwidgets_select: list_float
-        optionwidgets_buttons: list_float
-        optionwidgets_onoff: boolean
-      email:
-        email_textfield: email
-      filefield:
-        imagefield_widget: image
-        filefield_widget: file
-      fr_phone:
-        phone_textfield: telephone
-      be_phone:
-        phone_textfield: telephone
-      it_phone:
-        phone_textfield: telephone
-      el_phone:
-        phone_textfield: telephone
-      ch_phone:
-        phone_textfield: telephone
-      ca_phone:
-        phone_textfield: telephone
-      cr_phone:
-        phone_textfield: telephone
-      pa_phone:
-        phone_textfield: telephone
-      gb_phone:
-        phone_textfield: telephone
-      ru_phone:
-        phone_textfield: telephone
-      ua_phone:
-        phone_textfield: telephone
-      es_phone:
-        phone_textfield: telephone
-      au_phone:
-        phone_textfield: telephone
-      cs_phone:
-        phone_textfield: telephone
-      hu_phone:
-        phone_textfield: telephone
-      pl_phone:
-        phone_textfield: telephone
-      nl_phone:
-        phone_textfield: telephone
-      se_phone:
-        phone_textfield: telephone
-      za_phone:
-        phone_textfield: telephone
-      il_phone:
-        phone_textfield: telephone
-      nz_phone:
-        phone_textfield: telephone
-      br_phone:
-        phone_textfield: telephone
-      cl_phone:
-        phone_textfield: telephone
-      cn_phone:
-        phone_textfield: telephone
-      hk_phone:
-        phone_textfield: telephone
-      mo_phone:
-        phone_textfield: telephone
-      ph_phone:
-        phone_textfield: telephone
-      sg_phone:
-        phone_textfield: telephone
-      jo_phone:
-        phone_textfield: telephone
-      eg_phone:
-        phone_textfield: telephone
-      pk_phone:
-        phone_textfield: telephone
-      int_phone:
-        phone_textfield: telephone
-  cardinality:
-    plugin: static_map
-    bypass: true
-    source: multiple
-    map:
-      - 1
-      - -1
-  settings:
-    plugin: field_settings
-    source:
-      - '@type'
-      - global_settings
-      - type
-destination:
-  plugin: 'entity:field_storage_config'
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 287
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_field_formatter_settings.yml

@@ -1,287 +0,0 @@
-uuid: 523bf19a-6869-44e1-8fbf-fc77096c9281
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_field_formatter_settings
-class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Field formatter configuration'
-source:
-  plugin: d6_field_instance_per_view_mode
-  constants:
-    entity_type: node
-    third_party_settings: {  }
-process:
-  field_type_exists:
-    -
-      plugin: migration_lookup
-      migration: upgrade_d6_field
-      source:
-        - field_name
-    -
-      plugin: skip_on_empty
-      method: row
-    -
-      plugin: extract
-      index:
-        - 1
-  entity_type: constants/entity_type
-  bundle:
-    -
-      plugin: migration_lookup
-      migration: upgrade_d6_node_type
-      source: type_name
-    -
-      plugin: skip_on_empty
-      method: row
-  view_mode:
-    -
-      plugin: migration_lookup
-      migration: upgrade_d6_view_modes
-      source:
-        - view_mode
-    -
-      plugin: skip_on_empty
-      method: row
-    -
-      plugin: extract
-      index:
-        - 1
-    -
-      plugin: static_map
-      bypass: true
-      map:
-        full: default
-  field_name: field_name
-  options/label: label
-  options/weight: weight
-  options/type:
-    -
-      plugin: static_map
-      bypass: true
-      source:
-        - type
-        - display_settings/format
-      map:
-        number_integer:
-          default: number_integer
-          us_0: number_integer
-          be_0: number_integer
-          fr_0: number_integer
-          unformatted: number_unformatted
-        number_float:
-          default: number_decimal
-          us_0: number_decimal
-          us_1: number_decimal
-          us_2: number_decimal
-          be_0: number_decimal
-          be_1: number_decimal
-          be_2: number_decimal
-          fr_0: number_decimal
-          fr_1: number_decimal
-          fr_2: number_decimal
-          unformatted: number_unformatted
-        number_decimal:
-          default: number_decimal
-          us_0: number_decimal
-          us_1: number_decimal
-          us_2: number_decimal
-          be_0: number_decimal
-          be_1: number_decimal
-          be_2: number_decimal
-          fr_0: number_decimal
-          fr_1: number_decimal
-          fr_2: number_decimal
-          unformatted: number_unformatted
-        email:
-          default: email_mailto
-          spamspan: email_mailto
-          contact: email_mailto
-          plain: basic_string
-        fr_phone:
-          default: basic_string
-        be_phone:
-          default: basic_string
-        it_phone:
-          default: basic_string
-        el_phone:
-          default: basic_string
-        ch_phone:
-          default: basic_string
-        ca_phone:
-          default: basic_string
-        cr_phone:
-          default: basic_string
-        pa_phone:
-          default: basic_string
-        gb_phone:
-          default: basic_string
-        ru_phone:
-          default: basic_string
-        ua_phone:
-          default: basic_string
-        es_phone:
-          default: basic_string
-        au_phone:
-          default: basic_string
-        cs_phone:
-          default: basic_string
-        hu_phone:
-          default: basic_string
-        pl_phone:
-          default: basic_string
-        nl_phone:
-          default: basic_string
-        se_phone:
-          default: basic_string
-        za_phone:
-          default: basic_string
-        il_phone:
-          default: basic_string
-        nz_phone:
-          default: basic_string
-        br_phone:
-          default: basic_string
-        cl_phone:
-          default: basic_string
-        cn_phone:
-          default: basic_string
-        hk_phone:
-          default: basic_string
-        mo_phone:
-          default: basic_string
-        ph_phone:
-          default: basic_string
-        sg_phone:
-          default: basic_string
-        jo_phone:
-          default: basic_string
-        eg_phone:
-          default: basic_string
-        pk_phone:
-          default: basic_string
-        int_phone:
-          default: basic_string
-        nodereference:
-          default: entity_reference_label
-          plain: entity_reference_label
-          full: entity_reference_entity_view
-          teaser: entity_reference_entity_view
-        userreference:
-          default: entity_reference_label
-          plain: entity_reference_label
-    -
-      plugin: field_type_defaults
-  options/settings:
-    -
-      plugin: static_map
-      bypass: true
-      source:
-        - module
-        - display_settings/format
-      map:
-        nodereference:
-          default: {  }
-          plain:
-            link: false
-          full:
-            view_mode: full
-          teaser:
-            view_mode: teaser
-        userreference:
-          default: {  }
-          plain:
-            link: false
-        link:
-          default:
-            trim_length: '80'
-            url_only: 0
-            url_plain: 0
-            rel: 0
-            target: 0
-          plain:
-            trim_length: '80'
-            url_only: 1
-            url_plain: 1
-            rel: 0
-            target: 0
-          absolute:
-            trim_length: '80'
-            url_only: 1
-            url_plain: 1
-            rel: 0
-            target: 0
-          title_plain:
-            trim_length: '80'
-            url_only: 1
-            url_plain: 1
-            rel: 0
-            target: 0
-          url:
-            trim_length: '80'
-            url_only: 1
-            url_plain: 0
-            rel: 0
-            target: 0
-          short:
-            trim_length: '80'
-            url_only: 0
-            url_plain: 0
-            rel: 0
-            target: 0
-          label:
-            trim_length: '80'
-            url_only: 0
-            url_plain: 0
-            rel: 0
-            target: 0
-          separate:
-            trim_length: '80'
-            rel: 0
-            target: 0
-        filefield:
-          image_plain:
-            image_style: ''
-            image_link: ''
-          image_nodelink:
-            image_style: ''
-            image_link: content
-          image_imagelink:
-            image_style: ''
-            image_link: file
-        date:
-          default:
-            format_type: fallback
-            timezone_override: ''
-          format_interval:
-            format_type: fallback
-            timezone_override: ''
-          long:
-            format_type: long
-            timezone_override: ''
-          medium:
-            format_type: medium
-            timezone_override: ''
-          short:
-            format_type: short
-            timezone_override: ''
-        text:
-          trimmed:
-            trim_length: 600
-        string:
-          default:
-            link_to_entity: false
-    -
-      plugin: field_formatter_settings_defaults
-  options/third_party_settings: constants/third_party_settings
-destination:
-  plugin: component_entity_display
-migration_dependencies:
-  required:
-    - upgrade_d6_field_instance
-    - upgrade_d6_view_modes
-  optional: {  }

+ 0 - 63
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_field_instance.yml

@@ -1,63 +0,0 @@
-uuid: 2a618d8d-6ac9-4ead-82bb-b320ad7a3cfb
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_field_instance
-class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Field instance configuration'
-source:
-  plugin: d6_field_instance
-  constants:
-    entity_type: node
-process:
-  field_type_exists:
-    -
-      plugin: migration_lookup
-      migration: upgrade_d6_field
-      source:
-        - field_name
-    -
-      plugin: extract
-      index:
-        - 1
-    -
-      plugin: skip_on_empty
-      method: row
-  entity_type: constants/entity_type
-  field_name: field_name
-  bundle:
-    -
-      plugin: migration_lookup
-      migration: upgrade_d6_node_type
-      source: type_name
-    -
-      plugin: skip_on_empty
-      method: row
-  label: label
-  description: description
-  required: required
-  status: active
-  settings:
-    plugin: d6_field_field_settings
-    source:
-      - widget_type
-      - widget_settings
-      - global_settings
-  default_value_callback: ''
-  default_value:
-    plugin: d6_field_instance_defaults
-    source:
-      - widget_type
-      - widget_settings
-destination:
-  plugin: 'entity:field_config'
-migration_dependencies:
-  required:
-    - upgrade_d6_node_type
-    - upgrade_d6_field
-  optional: {  }

+ 0 - 75
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_field_instance_widget_settings.yml

@@ -1,75 +0,0 @@
-uuid: ac44a277-5cdd-4379-886d-102bc9d6ddea
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_field_instance_widget_settings
-class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Field instance widget configuration'
-source:
-  plugin: d6_field_instance_per_form_display
-  constants:
-    entity_type: node
-    form_mode: default
-    third_party_settings: {  }
-process:
-  field_type_exists:
-    -
-      plugin: migration_lookup
-      migration: upgrade_d6_field
-      source:
-        - field_name
-    -
-      plugin: extract
-      index:
-        - 1
-    -
-      plugin: skip_on_empty
-      method: row
-  bundle:
-    -
-      plugin: migration_lookup
-      migration: upgrade_d6_node_type
-      source: type_name
-    -
-      plugin: skip_on_empty
-      method: row
-  form_mode: constants/form_mode
-  field_name: field_name
-  entity_type: constants/entity_type
-  options/weight: weight
-  options/type:
-    type:
-      plugin: static_map
-      bypass: true
-      source: widget_type
-      map:
-        number: number
-        email_textfield: email_default
-        date_select: datetime_default
-        date_text: datetime_default
-        date_popup: datetime_default
-        imagefield_widget: image_image
-        phone_textfield: telephone_default
-        optionwidgets_onoff: boolean_checkbox
-        optionwidgets_buttons: options_buttons
-        optionwidgets_select: options_select
-        nodereference_select: options_select
-        userreference_select: options_select
-  options/settings:
-    -
-      plugin: field_instance_widget_settings
-      source:
-        - widget_type
-        - widget_settings
-  options/third_party_settings: constants/third_party_settings
-destination:
-  plugin: component_entity_form_display
-migration_dependencies:
-  required:
-    - upgrade_d6_field_instance
-  optional: {  }

+ 0 - 48
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_file.yml

@@ -1,48 +0,0 @@
-uuid: dcd1eb8d-512d-43b8-82ce-8ea888ca4ef1
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_file
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Public files'
-source:
-  plugin: d6_file
-  constants:
-    source_base_path: ../drupal6/
-process:
-  filename: filename
-  source_full_path:
-    -
-      plugin: concat
-      delimiter: /
-      source:
-        - constants/source_base_path
-        - filepath
-    -
-      plugin: urlencode
-  destination_full_path:
-    plugin: file_uri
-    source:
-      - filepath
-      - file_directory_path
-      - temp_directory_path
-      - is_public
-  uri:
-    plugin: file_copy
-    source:
-      - '@source_full_path'
-      - '@destination_full_path'
-  filemime: filemime
-  status: status
-  changed: timestamp
-  uid: uid
-destination:
-  plugin: 'entity:file'
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 28
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_file_settings.yml

@@ -1,28 +0,0 @@
-uuid: 207557d6-7cdc-4c9a-976a-af89609a421a
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_file_settings
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'File configuration'
-source:
-  plugin: variable
-  variables:
-    - file_description_type
-    - file_description_length
-    - file_icon_directory
-process:
-  description/type: file_description_type
-  description/length: file_description_length
-  icon/directory: file_icon_directory
-destination:
-  plugin: config
-  config_name: file.settings
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 50
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_filter_format.yml

@@ -1,50 +0,0 @@
-uuid: 8a3a61b7-7578-4a00-aa6e-44455798d537
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_filter_format
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Filter format configuration'
-source:
-  plugin: d6_filter_format
-process:
-  format:
-    plugin: machine_name
-    source: name
-  name: name
-  cache: cache
-  filters:
-    plugin: sub_process
-    source: filters
-    key: '@id'
-    process:
-      id:
-        plugin: filter_id
-        source:
-          - module
-          - delta
-        bypass: true
-        map:
-          filter:
-            - filter_html
-            - filter_autop
-            - filter_url
-            - filter_htmlcorrector
-            - filter_html_escape
-      settings:
-        plugin: filter_settings
-        source: settings
-      status:
-        plugin: default_value
-        default_value: true
-destination:
-  plugin: 'entity:filter_format'
-  no_stub: true
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 35
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_imagecache_presets.yml

@@ -1,35 +0,0 @@
-uuid: 32ad2920-6ee1-4387-9cea-30e86660c4fe
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_imagecache_presets
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'ImageCache Presets'
-source:
-  plugin: d6_imagecache_presets
-process:
-  name:
-    -
-      plugin: machine_name
-      source: presetname
-    -
-      plugin: make_unique_entity_field
-      entity_type: image_style
-      field: name
-      length: 32
-  label: presetname
-  effects:
-    plugin: d6_imagecache_actions
-    source:
-      - '@plugin'
-      - data
-destination:
-  plugin: 'entity:image_style'
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 51
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_language_content_settings.yml

@@ -1,51 +0,0 @@
-uuid: c59681b6-5eb5-49da-bca7-865657e9587d
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_language_content_settings
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Drupal 6 language content settings'
-source:
-  plugin: d6_language_content_settings
-  constants:
-    target_type: node
-process:
-  target_bundle: type
-  target_entity_type_id: constants/target_type
-  default_langcode:
-    -
-      plugin: static_map
-      source: language_content_type
-      map:
-        - null
-        - current_interface
-        - current_interface
-    -
-      plugin: skip_on_empty
-      method: row
-  language_alterable:
-    plugin: static_map
-    source: i18n_lock_node
-    map:
-      - true
-      - false
-  third_party_settings/content_translation/enabled:
-    plugin: static_map
-    source: language_content_type
-    map:
-      - null
-      - false
-      - true
-destination:
-  plugin: 'entity:language_content_settings'
-  content_translation_update_definitions:
-    - node
-migration_dependencies:
-  required:
-    - upgrade_d6_node_type
-  optional: {  }

+ 0 - 40
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_language_negotiation_settings.yml

@@ -1,40 +0,0 @@
-uuid: 387200f7-aeb9-4d35-9640-66d556f89a67
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_language_negotiation_settings
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Language negotiation settings'
-source:
-  plugin: variable
-  variables:
-    - language_negotiation
-  source_module: language
-process:
-  session/parameter:
-    plugin: default_value
-    default_value: language
-  selected_langcode:
-    plugin: default_value
-    default_value: site_default
-  url/source:
-    plugin: static_map
-    source: language_negotiation
-    default_value: path_prefix
-    map:
-      - path_prefix
-      - path_prefix
-      - path_prefix
-      - domain
-destination:
-  plugin: config
-  config_name: language.negotiation
-migration_dependencies:
-  required:
-    - upgrade_language
-  optional: {  }

+ 0 - 60
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_language_types.yml

@@ -1,60 +0,0 @@
-uuid: 96b26caf-fec1-409f-92b4-f01153a26e3f
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_language_types
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Language types'
-source:
-  plugin: variable
-  variables:
-    - language_negotiation
-  source_module: language
-process:
-  all:
-    plugin: default_value
-    default_value:
-      - language_interface
-      - language_content
-      - language_url
-  configurable:
-    plugin: default_value
-    default_value:
-      - language_interface
-  negotiation/language_content/enabled:
-    plugin: default_value
-    default_value:
-      language-interface: 0
-  negotiation/language_url/enabled:
-    plugin: default_value
-    default_value:
-      language-url: 0
-      language-url-fallback: 1
-  negotiation/language_interface/enabled:
-    plugin: static_map
-    source: language_negotiation
-    map:
-      -
-        language-selected: 0
-      -
-        language-url: 0
-        language-selected: 1
-      -
-        language-url: 0
-        language-user: 1
-        language-browser: 2
-        language-selected: 3
-      -
-        language-url: 0
-        language-selected: 1
-destination:
-  plugin: config
-  config_name: language.types
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 23
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_menu.yml

@@ -1,23 +0,0 @@
-uuid: 6da82ded-3e16-4b0d-bcc0-897140a1055e
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_menu
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: Menus
-source:
-  plugin: menu
-process:
-  id: menu_name
-  label: title
-  description: description
-destination:
-  plugin: 'entity:menu'
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 64
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_menu_links.yml

@@ -1,64 +0,0 @@
-uuid: a4bfa7da-f050-4522-8d4f-135acccba433
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_menu_links
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Menu links'
-source:
-  plugin: menu_link
-process:
-  id: mlid
-  title: link_title
-  description: description
-  menu_name:
-    -
-      plugin: migration_lookup
-      migration: upgrade_d6_menu
-      source: menu_name
-    -
-      plugin: skip_on_empty
-      method: row
-    -
-      plugin: static_map
-      map:
-        management: admin
-      bypass: true
-  link/uri:
-    plugin: link_uri
-    source:
-      - link_path
-  link/options: options
-  route:
-    plugin: route
-    source:
-      - link_path
-      - options
-  route_name: '@route/route_name'
-  route_parameters: '@route/route_parameters'
-  url: '@route/url'
-  options: '@route/options'
-  external: external
-  weight: weight
-  expanded: expanded
-  enabled: enabled
-  parent:
-    plugin: menu_link_parent
-    source:
-      - plid
-      - '@menu_name'
-      - parent_link_path
-  changed: updated
-destination:
-  plugin: 'entity:menu_link_content'
-  default_bundle: menu_link_content
-  no_stub: true
-migration_dependencies:
-  required:
-    - upgrade_d6_menu
-  optional: {  }

+ 0 - 109
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_corpus.yml

@@ -1,109 +0,0 @@
-uuid: 63e5d50d-22d5-40a5-88f0-cbc813307c64
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_corpus
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Nodes (corpus)'
-source:
-  plugin: d6_node
-  node_type: corpus
-process:
-  nid: tnid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  field_mp3:
-    plugin: d6_field_file
-    source: field_mp3
-  field_artiste:
-    plugin: iterator
-    source: field_artiste
-    process:
-      value: value
-      format:
-        -
-          plugin: static_map
-          bypass: true
-          source: format
-          map:
-            - null
-        -
-          plugin: skip_on_empty
-          method: process
-        -
-          plugin: migration
-          migration:
-            - upgrade_d6_filter_format
-            - upgrade_d7_filter_format
-          source: format
-  field_compositeur:
-    plugin: iterator
-    source: field_compositeur
-    process:
-      value: value
-      format:
-        -
-          plugin: static_map
-          bypass: true
-          source: format
-          map:
-            - null
-        -
-          plugin: skip_on_empty
-          method: process
-        -
-          plugin: migration
-          migration:
-            - upgrade_d6_filter_format
-            - upgrade_d7_filter_format
-          source: format
-  field_genre: field_genre
-  field_ordre: field_ordre
-  field_langue: field_langue
-  field_article:
-    plugin: iterator
-    source: field_article
-    process:
-      target_id:
-        plugin: migration_lookup
-        migration: upgrade_d6_node
-        source: nid
-destination:
-  plugin: 'entity:node'
-  default_bundle: corpus
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance
-    - upgrade_d6_filter_format
-    - upgrade_d7_filter_format

+ 0 - 52
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_entree.yml

@@ -1,52 +0,0 @@
-uuid: e07ade2a-75cb-4ffd-a070-d0b1205e24df
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_entree
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Nodes (entree)'
-source:
-  plugin: d6_node
-  node_type: entree
-process:
-  nid: tnid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  field_entree: field_entree
-destination:
-  plugin: 'entity:node'
-  default_bundle: entree
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance

+ 0 - 59
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_episode.yml

@@ -1,59 +0,0 @@
-uuid: 96519d79-9201-44d4-b321-d0d011bb45d2
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_episode
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Nodes (episode)'
-source:
-  plugin: d6_node
-  node_type: episode
-process:
-  nid: tnid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  field_related_sound:
-    plugin: iterator
-    source: field_related_sound
-    process:
-      target_id:
-        plugin: migration_lookup
-        migration: upgrade_d6_node
-        source: nid
-destination:
-  plugin: 'entity:node'
-  default_bundle: episode
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance

+ 0 - 60
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_event.yml

@@ -1,60 +0,0 @@
-uuid: 2defad48-393a-4262-9869-523fd44315d5
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_event
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Nodes (event)'
-source:
-  plugin: d6_node
-  node_type: event
-process:
-  nid: tnid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  field_date:
-    plugin: iterator
-    source: field_date
-    process:
-      value:
-        plugin: format_date
-        from_format: 'Y-m-d\TH:i:s'
-        to_format: 'Y-m-d\TH:i:s'
-        source: value
-destination:
-  plugin: 'entity:node'
-  default_bundle: event
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance

+ 0 - 51
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_home.yml

@@ -1,51 +0,0 @@
-uuid: 56aa279c-a52f-4c39-9ba6-3dcf4005beb2
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_home
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Nodes (home)'
-source:
-  plugin: d6_node
-  node_type: home
-process:
-  nid: tnid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-destination:
-  plugin: 'entity:node'
-  default_bundle: home
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance

+ 0 - 57
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_page.yml

@@ -1,57 +0,0 @@
-uuid: d1836be0-94fb-4853-b801-7be06964a238
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_page
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Nodes (page)'
-source:
-  plugin: d6_node
-  node_type: page
-process:
-  nid: tnid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  field_mp3:
-    plugin: d6_field_file
-    source: field_mp3
-  field_visuel:
-    plugin: d6_field_file
-    source: field_visuel
-destination:
-  plugin: 'entity:node'
-  default_bundle: page
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance

+ 0 - 103
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_corpus.yml

@@ -1,103 +0,0 @@
-uuid: 95382fb2-194e-4757-a1a7-69841faebdd3
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_revision_corpus
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node revisions (corpus)'
-source:
-  plugin: d6_node_revision
-  node_type: corpus
-process:
-  nid: nid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  field_mp3:
-    plugin: d6_field_file
-    source: field_mp3
-  field_artiste:
-    plugin: iterator
-    source: field_artiste
-    process:
-      value: value
-      format:
-        -
-          plugin: static_map
-          bypass: true
-          source: format
-          map:
-            - null
-        -
-          plugin: skip_on_empty
-          method: process
-        -
-          plugin: migration
-          migration:
-            - upgrade_d6_filter_format
-            - upgrade_d7_filter_format
-          source: format
-  field_compositeur:
-    plugin: iterator
-    source: field_compositeur
-    process:
-      value: value
-      format:
-        -
-          plugin: static_map
-          bypass: true
-          source: format
-          map:
-            - null
-        -
-          plugin: skip_on_empty
-          method: process
-        -
-          plugin: migration
-          migration:
-            - upgrade_d6_filter_format
-            - upgrade_d7_filter_format
-          source: format
-  field_genre: field_genre
-  field_ordre: field_ordre
-  field_langue: field_langue
-  field_article:
-    plugin: iterator
-    source: field_article
-    process:
-      target_id:
-        plugin: migration_lookup
-        migration: upgrade_d6_node
-        source: nid
-destination:
-  plugin: 'entity_revision:node'
-  default_bundle: corpus
-migration_dependencies:
-  required:
-    - upgrade_d6_node_corpus
-  optional:
-    - upgrade_d6_filter_format
-    - upgrade_d7_filter_format

+ 0 - 46
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_entree.yml

@@ -1,46 +0,0 @@
-uuid: 985370e5-cb22-4312-9e1b-4e159857f420
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_revision_entree
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node revisions (entree)'
-source:
-  plugin: d6_node_revision
-  node_type: entree
-process:
-  nid: nid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  field_entree: field_entree
-destination:
-  plugin: 'entity_revision:node'
-  default_bundle: entree
-migration_dependencies:
-  required:
-    - upgrade_d6_node_entree
-  optional: {  }

+ 0 - 53
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_episode.yml

@@ -1,53 +0,0 @@
-uuid: e14cc576-ff51-447e-9f16-dfc2eeb87ac9
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_revision_episode
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node revisions (episode)'
-source:
-  plugin: d6_node_revision
-  node_type: episode
-process:
-  nid: nid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  field_related_sound:
-    plugin: iterator
-    source: field_related_sound
-    process:
-      target_id:
-        plugin: migration_lookup
-        migration: upgrade_d6_node
-        source: nid
-destination:
-  plugin: 'entity_revision:node'
-  default_bundle: episode
-migration_dependencies:
-  required:
-    - upgrade_d6_node_episode
-  optional: {  }

+ 0 - 54
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_event.yml

@@ -1,54 +0,0 @@
-uuid: f6c2d9bc-f977-423e-94a2-59cd24b84c85
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_revision_event
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node revisions (event)'
-source:
-  plugin: d6_node_revision
-  node_type: event
-process:
-  nid: nid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  field_date:
-    plugin: iterator
-    source: field_date
-    process:
-      value:
-        plugin: format_date
-        from_format: 'Y-m-d\TH:i:s'
-        to_format: 'Y-m-d\TH:i:s'
-        source: value
-destination:
-  plugin: 'entity_revision:node'
-  default_bundle: event
-migration_dependencies:
-  required:
-    - upgrade_d6_node_event
-  optional: {  }

+ 0 - 45
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_home.yml

@@ -1,45 +0,0 @@
-uuid: 547bb71a-efbb-4776-9180-6a6d16493eca
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_revision_home
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node revisions (home)'
-source:
-  plugin: d6_node_revision
-  node_type: home
-process:
-  nid: nid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-destination:
-  plugin: 'entity_revision:node'
-  default_bundle: home
-migration_dependencies:
-  required:
-    - upgrade_d6_node_home
-  optional: {  }

+ 0 - 51
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_page.yml

@@ -1,51 +0,0 @@
-uuid: a68c2bc8-4fef-400f-9e1b-c05b3482c292
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_revision_page
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node revisions (page)'
-source:
-  plugin: d6_node_revision
-  node_type: page
-process:
-  nid: nid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  field_mp3:
-    plugin: d6_field_file
-    source: field_mp3
-  field_visuel:
-    plugin: d6_field_file
-    source: field_visuel
-destination:
-  plugin: 'entity_revision:node'
-  default_bundle: page
-migration_dependencies:
-  required:
-    - upgrade_d6_node_page
-  optional: {  }

+ 0 - 93
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_son.yml

@@ -1,93 +0,0 @@
-uuid: 8949f91e-bc67-49a2-a780-65a187f9fcf5
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_revision_son
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node revisions (son)'
-source:
-  plugin: d6_node_revision
-  node_type: son
-process:
-  nid: nid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  field_mp3:
-    plugin: d6_field_file
-    source: field_mp3
-  field_artiste:
-    plugin: iterator
-    source: field_artiste
-    process:
-      value: value
-      format:
-        -
-          plugin: static_map
-          bypass: true
-          source: format
-          map:
-            - null
-        -
-          plugin: skip_on_empty
-          method: process
-        -
-          plugin: migration
-          migration:
-            - upgrade_d6_filter_format
-            - upgrade_d7_filter_format
-          source: format
-  field_compositeur:
-    plugin: iterator
-    source: field_compositeur
-    process:
-      value: value
-      format:
-        -
-          plugin: static_map
-          bypass: true
-          source: format
-          map:
-            - null
-        -
-          plugin: skip_on_empty
-          method: process
-        -
-          plugin: migration
-          migration:
-            - upgrade_d6_filter_format
-            - upgrade_d7_filter_format
-          source: format
-  field_genre: field_genre
-destination:
-  plugin: 'entity_revision:node'
-  default_bundle: son
-migration_dependencies:
-  required:
-    - upgrade_d6_node_son
-  optional:
-    - upgrade_d6_filter_format
-    - upgrade_d7_filter_format

+ 0 - 45
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_static.yml

@@ -1,45 +0,0 @@
-uuid: 4f7b6dae-3382-41d4-989d-59960bfab7d8
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_revision_static
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node revisions (static)'
-source:
-  plugin: d6_node_revision
-  node_type: static
-process:
-  nid: nid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-destination:
-  plugin: 'entity_revision:node'
-  default_bundle: static
-migration_dependencies:
-  required:
-    - upgrade_d6_node_static
-  optional: {  }

+ 0 - 48
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_visual_piece_sonore.yml

@@ -1,48 +0,0 @@
-uuid: 8560dd6c-4a04-41f4-ad0f-bf4a89cd4933
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_revision_visual_piece_sonore
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node revisions (visual_piece_sonore)'
-source:
-  plugin: d6_node_revision
-  node_type: visual_piece_sonore
-process:
-  nid: nid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  field_visuel_piece_sonore:
-    plugin: d6_field_file
-    source: field_visuel_piece_sonore
-destination:
-  plugin: 'entity_revision:node'
-  default_bundle: visual_piece_sonore
-migration_dependencies:
-  required:
-    - upgrade_d6_node_visual_piece_sonore
-  optional: {  }

+ 0 - 45
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_revision_webform.yml

@@ -1,45 +0,0 @@
-uuid: d5a94edf-4603-4e13-98ce-a96b2b5ea875
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_revision_webform
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node revisions (webform)'
-source:
-  plugin: d6_node_revision
-  node_type: webform
-process:
-  nid: nid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-destination:
-  plugin: 'entity_revision:node'
-  default_bundle: webform
-migration_dependencies:
-  required:
-    - upgrade_d6_node_webform
-  optional: {  }

+ 0 - 31
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_setting_promote.yml

@@ -1,31 +0,0 @@
-uuid: c82b74be-d196-4341-9b70-b8281c8b0e7d
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_setting_promote
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node type ''promote'' setting'
-source:
-  plugin: d6_node_type
-  constants:
-    entity_type: node
-    field_name: promote
-process:
-  entity_type: constants/entity_type
-  bundle: type
-  field_name: constants/field_name
-  label:
-    plugin: default_value
-    default_value: 'Promoted to front page'
-  default_value/0/value: options/promote
-destination:
-  plugin: 'entity:base_field_override'
-migration_dependencies:
-  required:
-    - upgrade_d6_node_type
-  optional: {  }

+ 0 - 31
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_setting_status.yml

@@ -1,31 +0,0 @@
-uuid: 26db62aa-4b07-41d9-bac3-4d4a5f35b1a2
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_setting_status
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node type ''status'' setting'
-source:
-  plugin: d6_node_type
-  constants:
-    entity_type: node
-    field_name: status
-process:
-  entity_type: constants/entity_type
-  bundle: type
-  field_name: constants/field_name
-  label:
-    plugin: default_value
-    default_value: 'Publishing status'
-  default_value/0/value: options/status
-destination:
-  plugin: 'entity:base_field_override'
-migration_dependencies:
-  required:
-    - upgrade_d6_node_type
-  optional: {  }

+ 0 - 31
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_setting_sticky.yml

@@ -1,31 +0,0 @@
-uuid: 13e28e7a-d057-4ff1-96ef-1acecbace522
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_setting_sticky
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node type ''sticky'' setting'
-source:
-  plugin: d6_node_type
-  constants:
-    entity_type: node
-    field_name: sticky
-process:
-  entity_type: constants/entity_type
-  bundle: type
-  field_name: constants/field_name
-  label:
-    plugin: default_value
-    default_value: 'Sticky at the top of lists'
-  default_value/0/value: options/sticky
-destination:
-  plugin: 'entity:base_field_override'
-migration_dependencies:
-  required:
-    - upgrade_d6_node_type
-  optional: {  }

+ 0 - 25
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_settings.yml

@@ -1,25 +0,0 @@
-uuid: f33a252c-04da-45d6-8838-406e575c9439
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_settings
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node configuration'
-source:
-  plugin: variable
-  variables:
-    - node_admin_theme
-  source_module: node
-process:
-  use_admin_theme: node_admin_theme
-destination:
-  plugin: config
-  config_name: node.settings
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 99
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_son.yml

@@ -1,99 +0,0 @@
-uuid: 2cb6733c-5728-4750-886b-5384cd27e7d9
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_son
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Nodes (son)'
-source:
-  plugin: d6_node
-  node_type: son
-process:
-  nid: tnid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  field_mp3:
-    plugin: d6_field_file
-    source: field_mp3
-  field_artiste:
-    plugin: iterator
-    source: field_artiste
-    process:
-      value: value
-      format:
-        -
-          plugin: static_map
-          bypass: true
-          source: format
-          map:
-            - null
-        -
-          plugin: skip_on_empty
-          method: process
-        -
-          plugin: migration
-          migration:
-            - upgrade_d6_filter_format
-            - upgrade_d7_filter_format
-          source: format
-  field_compositeur:
-    plugin: iterator
-    source: field_compositeur
-    process:
-      value: value
-      format:
-        -
-          plugin: static_map
-          bypass: true
-          source: format
-          map:
-            - null
-        -
-          plugin: skip_on_empty
-          method: process
-        -
-          plugin: migration
-          migration:
-            - upgrade_d6_filter_format
-            - upgrade_d7_filter_format
-          source: format
-  field_genre: field_genre
-destination:
-  plugin: 'entity:node'
-  default_bundle: son
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance
-    - upgrade_d6_filter_format
-    - upgrade_d7_filter_format

+ 0 - 51
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_static.yml

@@ -1,51 +0,0 @@
-uuid: 7509af26-bd9b-44b0-b146-91c8c67e7290
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_static
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Nodes (static)'
-source:
-  plugin: d6_node
-  node_type: static
-process:
-  nid: tnid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-destination:
-  plugin: 'entity:node'
-  default_bundle: static
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance

+ 0 - 116
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_corpus.yml

@@ -1,116 +0,0 @@
-uuid: a28a1430-e17d-4945-b523-68716acdc7f0
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_translation_corpus
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node translations (corpus)'
-source:
-  plugin: d6_node
-  translations: true
-  source_module: translation
-  node_type: corpus
-process:
-  nid: tnid
-  type: type
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  content_translation_source: source_langcode
-  field_mp3:
-    plugin: d6_field_file
-    source: field_mp3
-  field_artiste:
-    plugin: iterator
-    source: field_artiste
-    process:
-      value: value
-      format:
-        -
-          plugin: static_map
-          bypass: true
-          source: format
-          map:
-            - null
-        -
-          plugin: skip_on_empty
-          method: process
-        -
-          plugin: migration
-          migration:
-            - upgrade_d6_filter_format
-            - upgrade_d7_filter_format
-          source: format
-  field_compositeur:
-    plugin: iterator
-    source: field_compositeur
-    process:
-      value: value
-      format:
-        -
-          plugin: static_map
-          bypass: true
-          source: format
-          map:
-            - null
-        -
-          plugin: skip_on_empty
-          method: process
-        -
-          plugin: migration
-          migration:
-            - upgrade_d6_filter_format
-            - upgrade_d7_filter_format
-          source: format
-  field_genre: field_genre
-  field_ordre: field_ordre
-  field_langue: field_langue
-  field_article:
-    plugin: iterator
-    source: field_article
-    process:
-      target_id:
-        plugin: migration_lookup
-        migration: upgrade_d6_node
-        source: nid
-destination:
-  plugin: 'entity:node'
-  translations: true
-  destination_module: content_translation
-  default_bundle: corpus
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-    - upgrade_language
-    - upgrade_d6_node_corpus
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance
-    - upgrade_d6_filter_format
-    - upgrade_d7_filter_format

+ 0 - 59
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_entree.yml

@@ -1,59 +0,0 @@
-uuid: 46b8d262-5848-456e-9e4a-d3745cf3980c
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_translation_entree
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node translations (entree)'
-source:
-  plugin: d6_node
-  translations: true
-  source_module: translation
-  node_type: entree
-process:
-  nid: tnid
-  type: type
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  content_translation_source: source_langcode
-  field_entree: field_entree
-destination:
-  plugin: 'entity:node'
-  translations: true
-  destination_module: content_translation
-  default_bundle: entree
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-    - upgrade_language
-    - upgrade_d6_node_entree
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance

+ 0 - 66
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_episode.yml

@@ -1,66 +0,0 @@
-uuid: 4d13d4d0-701a-4e17-b134-4a7f23f22239
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_translation_episode
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node translations (episode)'
-source:
-  plugin: d6_node
-  translations: true
-  source_module: translation
-  node_type: episode
-process:
-  nid: tnid
-  type: type
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  content_translation_source: source_langcode
-  field_related_sound:
-    plugin: iterator
-    source: field_related_sound
-    process:
-      target_id:
-        plugin: migration_lookup
-        migration: upgrade_d6_node
-        source: nid
-destination:
-  plugin: 'entity:node'
-  translations: true
-  destination_module: content_translation
-  default_bundle: episode
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-    - upgrade_language
-    - upgrade_d6_node_episode
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance

+ 0 - 67
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_event.yml

@@ -1,67 +0,0 @@
-uuid: 4a714a95-551b-44ed-90da-8e137f4c7693
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_translation_event
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node translations (event)'
-source:
-  plugin: d6_node
-  translations: true
-  source_module: translation
-  node_type: event
-process:
-  nid: tnid
-  type: type
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  content_translation_source: source_langcode
-  field_date:
-    plugin: iterator
-    source: field_date
-    process:
-      value:
-        plugin: format_date
-        from_format: 'Y-m-d\TH:i:s'
-        to_format: 'Y-m-d\TH:i:s'
-        source: value
-destination:
-  plugin: 'entity:node'
-  translations: true
-  destination_module: content_translation
-  default_bundle: event
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-    - upgrade_language
-    - upgrade_d6_node_event
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance

+ 0 - 58
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_home.yml

@@ -1,58 +0,0 @@
-uuid: fb2d0914-1fd3-460a-9974-73afb657ad76
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_translation_home
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node translations (home)'
-source:
-  plugin: d6_node
-  translations: true
-  source_module: translation
-  node_type: home
-process:
-  nid: tnid
-  type: type
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  content_translation_source: source_langcode
-destination:
-  plugin: 'entity:node'
-  translations: true
-  destination_module: content_translation
-  default_bundle: home
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-    - upgrade_language
-    - upgrade_d6_node_home
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance

+ 0 - 64
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_page.yml

@@ -1,64 +0,0 @@
-uuid: 7d11b145-2b39-4457-937f-3d3256270da9
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_translation_page
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node translations (page)'
-source:
-  plugin: d6_node
-  translations: true
-  source_module: translation
-  node_type: page
-process:
-  nid: tnid
-  type: type
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  content_translation_source: source_langcode
-  field_mp3:
-    plugin: d6_field_file
-    source: field_mp3
-  field_visuel:
-    plugin: d6_field_file
-    source: field_visuel
-destination:
-  plugin: 'entity:node'
-  translations: true
-  destination_module: content_translation
-  default_bundle: page
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-    - upgrade_language
-    - upgrade_d6_node_page
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance

+ 0 - 106
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_son.yml

@@ -1,106 +0,0 @@
-uuid: 630e47a9-7ebc-4a65-9460-faf990ff103a
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_translation_son
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node translations (son)'
-source:
-  plugin: d6_node
-  translations: true
-  source_module: translation
-  node_type: son
-process:
-  nid: tnid
-  type: type
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  content_translation_source: source_langcode
-  field_mp3:
-    plugin: d6_field_file
-    source: field_mp3
-  field_artiste:
-    plugin: iterator
-    source: field_artiste
-    process:
-      value: value
-      format:
-        -
-          plugin: static_map
-          bypass: true
-          source: format
-          map:
-            - null
-        -
-          plugin: skip_on_empty
-          method: process
-        -
-          plugin: migration
-          migration:
-            - upgrade_d6_filter_format
-            - upgrade_d7_filter_format
-          source: format
-  field_compositeur:
-    plugin: iterator
-    source: field_compositeur
-    process:
-      value: value
-      format:
-        -
-          plugin: static_map
-          bypass: true
-          source: format
-          map:
-            - null
-        -
-          plugin: skip_on_empty
-          method: process
-        -
-          plugin: migration
-          migration:
-            - upgrade_d6_filter_format
-            - upgrade_d7_filter_format
-          source: format
-  field_genre: field_genre
-destination:
-  plugin: 'entity:node'
-  translations: true
-  destination_module: content_translation
-  default_bundle: son
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-    - upgrade_language
-    - upgrade_d6_node_son
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance
-    - upgrade_d6_filter_format
-    - upgrade_d7_filter_format

+ 0 - 58
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_static.yml

@@ -1,58 +0,0 @@
-uuid: 8bc3f476-0d48-4edf-af1f-fbf66d6d6a2c
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_translation_static
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node translations (static)'
-source:
-  plugin: d6_node
-  translations: true
-  source_module: translation
-  node_type: static
-process:
-  nid: tnid
-  type: type
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  content_translation_source: source_langcode
-destination:
-  plugin: 'entity:node'
-  translations: true
-  destination_module: content_translation
-  default_bundle: static
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-    - upgrade_language
-    - upgrade_d6_node_static
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance

+ 0 - 61
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_visual_piece_sonore.yml

@@ -1,61 +0,0 @@
-uuid: 485739fb-e8ab-48eb-a28b-97c9fc95c02b
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_translation_visual_piece_sonore
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node translations (visual_piece_sonore)'
-source:
-  plugin: d6_node
-  translations: true
-  source_module: translation
-  node_type: visual_piece_sonore
-process:
-  nid: tnid
-  type: type
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  content_translation_source: source_langcode
-  field_visuel_piece_sonore:
-    plugin: d6_field_file
-    source: field_visuel_piece_sonore
-destination:
-  plugin: 'entity:node'
-  translations: true
-  destination_module: content_translation
-  default_bundle: visual_piece_sonore
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-    - upgrade_language
-    - upgrade_d6_node_visual_piece_sonore
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance

+ 0 - 58
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_translation_webform.yml

@@ -1,58 +0,0 @@
-uuid: cd950e33-c106-43aa-a8fd-277cd0c93722
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_translation_webform
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node translations (webform)'
-source:
-  plugin: d6_node
-  translations: true
-  source_module: translation
-  node_type: webform
-process:
-  nid: tnid
-  type: type
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  content_translation_source: source_langcode
-destination:
-  plugin: 'entity:node'
-  translations: true
-  destination_module: content_translation
-  default_bundle: webform
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-    - upgrade_language
-    - upgrade_d6_node_webform
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance

+ 0 - 37
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_type.yml

@@ -1,37 +0,0 @@
-uuid: f1ba5bdf-b93d-49a3-a07e-ed7c69d803c1
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_type
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Node type configuration'
-source:
-  plugin: d6_node_type
-  constants:
-    preview: 1
-    create_body: false
-process:
-  type: type
-  name: name
-  module: module
-  description: description
-  help: help
-  title_label: title_label
-  preview_mode: constants/preview
-  display_submitted: display_submitted
-  new_revision: options/revision
-  settings/node/options: options
-  create_body: has_body
-  create_body_label: body_label
-  third_party_settings/menu_ui/available_menus: available_menus
-  third_party_settings/menu_ui/parent: parent
-destination:
-  plugin: 'entity:node_type'
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 54
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_visual_piece_sonore.yml

@@ -1,54 +0,0 @@
-uuid: 5bcb5628-ba0e-4ac3-85ad-81b68342c4b9
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_visual_piece_sonore
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Nodes (visual_piece_sonore)'
-source:
-  plugin: d6_node
-  node_type: visual_piece_sonore
-process:
-  nid: tnid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-  field_visuel_piece_sonore:
-    plugin: d6_field_file
-    source: field_visuel_piece_sonore
-destination:
-  plugin: 'entity:node'
-  default_bundle: visual_piece_sonore
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance

+ 0 - 51
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_node_webform.yml

@@ -1,51 +0,0 @@
-uuid: 166a3338-ae8b-4575-a6a5-545ca817dd24
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_node_webform
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Nodes (webform)'
-source:
-  plugin: d6_node
-  node_type: webform
-process:
-  nid: tnid
-  vid: vid
-  langcode:
-    plugin: default_value
-    source: language
-    default_value: und
-  title: title
-  uid: node_uid
-  status: status
-  created: created
-  changed: changed
-  promote: promote
-  sticky: sticky
-  body/format:
-    plugin: migration_lookup
-    migration: upgrade_d6_filter_format
-    source: format
-  body/value: body
-  body/summary: teaser
-  revision_uid: revision_uid
-  revision_log: log
-  revision_timestamp: timestamp
-destination:
-  plugin: 'entity:node'
-  default_bundle: webform
-migration_dependencies:
-  required:
-    - upgrade_d6_user
-    - upgrade_d6_node_type
-    - upgrade_d6_node_settings
-    - upgrade_d6_filter_format
-  optional:
-    - upgrade_d6_field_instance_widget_settings
-    - upgrade_d6_field_formatter_settings
-    - upgrade_d6_upload_field_instance

+ 0 - 32
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_search_settings.yml

@@ -1,32 +0,0 @@
-uuid: c2f0eacd-b4c3-48d2-9f5f-a3e569b3a494
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_search_settings
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Search configuration'
-source:
-  plugin: variable
-  constants:
-    status: true
-  variables:
-    - minimum_word_size
-    - overlap_cjk
-    - search_cron_limit
-  source_module: search
-process:
-  index/minimum_word_size: minimum_word_size
-  index/overlap_cjk: overlap_cjk
-  index/cron_limit: search_cron_limit
-  logging: constants/status
-destination:
-  plugin: config
-  config_name: search.settings
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 28
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_statistics_settings.yml

@@ -1,28 +0,0 @@
-uuid: b34920ce-06a6-4310-982e-8af9f4041864
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_statistics_settings
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Statistics configuration'
-source:
-  plugin: variable
-  variables:
-    - statistics_enable_access_log
-    - statistics_flush_accesslog_timer
-    - statistics_count_content_views
-process:
-  access_log/enabled: statistics_enable_access_log
-  access_log/max_lifetime: statistics_flush_accesslog_timer
-  count_content_views: statistics_count_content_views
-destination:
-  plugin: config
-  config_name: statistics.settings
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 27
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_syslog_settings.yml

@@ -1,27 +0,0 @@
-uuid: 8e226559-cb6c-4c5f-86b4-70ad38c090e0
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_syslog_settings
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'System log configuration'
-source:
-  plugin: variable
-  variables:
-    - syslog_identity
-    - syslog_facility
-  source_module: syslog
-process:
-  identity: syslog_identity
-  facility: syslog_facility
-destination:
-  plugin: config
-  config_name: syslog.settings
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 28
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_cron.yml

@@ -1,28 +0,0 @@
-uuid: d570ce06-63f2-4347-8f74-1350ad85576f
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_system_cron
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Cron settings'
-source:
-  plugin: variable
-  variables:
-    - cron_threshold_warning
-    - cron_threshold_error
-    - cron_last
-  source_module: system
-process:
-  threshold/requirements_warning: cron_threshold_warning
-  threshold/requirements_error: cron_threshold_error
-destination:
-  plugin: config
-  config_name: system.cron
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 31
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_date.yml

@@ -1,31 +0,0 @@
-uuid: fb940429-621e-4a7a-b77f-999c32afeb48
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_system_date
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'System date configuration'
-source:
-  plugin: variable
-  variables:
-    - configurable_timezones
-    - date_first_day
-    - date_default_timezone
-  source_module: system
-process:
-  timezone/user/configurable: configurable_timezones
-  first_day: date_first_day
-  timezone/default:
-    plugin: timezone
-    source: date_default_timezone
-destination:
-  plugin: config
-  config_name: system.date
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 32
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_file.yml

@@ -1,32 +0,0 @@
-uuid: 00d7a259-0f6d-48fa-bce8-fe735981f513
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_system_file
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'File system configuration'
-source:
-  plugin: variable
-  variables:
-    - file_directory_temp
-    - allow_insecure_uploads
-  source_module: system
-process:
-  path/temporary: file_directory_temp
-  allow_insecure_uploads:
-    plugin: static_map
-    source: allow_insecure_uploads
-    map:
-      - false
-      - true
-destination:
-  plugin: config
-  config_name: system.file
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 24
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_image.yml

@@ -1,24 +0,0 @@
-uuid: cb116153-b37c-4fad-8569-417bb49e5b1e
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_system_image
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Image toolkit configuration'
-source:
-  plugin: variable
-  variables:
-    - image_toolkit
-process:
-  toolkit: image_toolkit
-destination:
-  plugin: config
-  config_name: system.image
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 24
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_image_gd.yml

@@ -1,24 +0,0 @@
-uuid: 98c386d2-b57f-4e93-af38-ac0d66ea85c4
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_system_image_gd
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Image quality configuration'
-source:
-  plugin: variable
-  variables:
-    - image_jpeg_quality
-process:
-  jpeg_quality: image_jpeg_quality
-destination:
-  plugin: config
-  config_name: system.image.gd
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 32
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_logging.yml

@@ -1,32 +0,0 @@
-uuid: 1c13fbfb-60f8-4ff5-b15b-f5f887c146e1
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_system_logging
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'System logging'
-source:
-  plugin: variable
-  variables:
-    - error_level
-process:
-  error_level:
-    plugin: static_map
-    source: error_level
-    default_value: all
-    map:
-      - hide
-      - some
-      - all
-      - verbose
-destination:
-  plugin: config
-  config_name: system.logging
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 24
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_maintenance.yml

@@ -1,24 +0,0 @@
-uuid: 95626a9c-4b7f-4ac4-b3af-5f5b744f0cb5
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_system_maintenance
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Maintenance page configuration'
-source:
-  plugin: variable
-  variables:
-    - site_offline_message
-process:
-  message: site_offline_message
-destination:
-  plugin: config
-  config_name: system.maintenance
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 31
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_performance.yml

@@ -1,31 +0,0 @@
-uuid: 907bda49-fade-4dc8-8dc8-efc8808ac838
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_system_performance
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Performance configuration'
-source:
-  plugin: variable
-  variables:
-    - preprocess_css
-    - preprocess_js
-    - cache_lifetime
-    - cache
-    - page_compression
-  source_module: system
-process:
-  css/preprocess: preprocess_css
-  js/preprocess: preprocess_js
-  cache/page/max_age: cache_lifetime
-destination:
-  plugin: config
-  config_name: system.performance
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 26
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_rss.yml

@@ -1,26 +0,0 @@
-uuid: f37af969-e49e-42ac-8026-2a7a628844be
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_system_rss
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'RSS configuration'
-source:
-  plugin: variable
-  variables:
-    - feed_default_items
-    - feed_item_length
-process:
-  items/limit: feed_default_items
-  items/view_mode: feed_item_length
-destination:
-  plugin: config
-  config_name: system.rss
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 52
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_system_site.yml

@@ -1,52 +0,0 @@
-uuid: a2133080-9a60-4457-8175-092103ca9f41
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_system_site
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Site configuration'
-source:
-  plugin: variable
-  constants:
-    slash: /
-  variables:
-    - site_name
-    - site_mail
-    - site_slogan
-    - site_frontpage
-    - site_403
-    - site_404
-    - drupal_weight_select_max
-    - admin_compact_mode
-process:
-  name: site_name
-  mail: site_mail
-  slogan: site_slogan
-  page/front:
-    plugin: concat
-    source:
-      - constants/slash
-      - site_frontpage
-  page/403:
-    plugin: concat
-    source:
-      - constants/slash
-      - site_403
-  page/404:
-    plugin: concat
-    source:
-      - constants/slash
-      - site_404
-  weight_select_max: drupal_weight_select_max
-  admin_compact_mode: admin_compact_mode
-destination:
-  plugin: config
-  config_name: system.site
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 42
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_taxonomy_term.yml

@@ -1,42 +0,0 @@
-uuid: 778b4e3f-689f-4a9e-b1ef-4ca9c77fc907
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_taxonomy_term
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Taxonomy terms'
-source:
-  plugin: d6_taxonomy_term
-process:
-  tid: tid
-  vid:
-    plugin: migration_lookup
-    migration: upgrade_d6_taxonomy_vocabulary
-    source: vid
-  name: name
-  description: description
-  weight: weight
-  parent_id:
-    -
-      plugin: skip_on_empty
-      method: process
-      source: parent
-    -
-      plugin: migration_lookup
-      migration: upgrade_d6_taxonomy_term
-  parent:
-    plugin: default_value
-    default_value: 0
-    source: '@parent_id'
-  changed: timestamp
-destination:
-  plugin: 'entity:taxonomy_term'
-migration_dependencies:
-  required:
-    - upgrade_d6_taxonomy_vocabulary
-  optional: {  }

+ 0 - 47
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_taxonomy_term_translation.yml

@@ -1,47 +0,0 @@
-uuid: f294e7c3-287b-4e33-b199-1656305088d7
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_taxonomy_term_translation
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Taxonomy terms'
-source:
-  plugin: d6_taxonomy_term
-  translations: true
-process:
-  tid: tid
-  langcode: language
-  vid:
-    plugin: migration
-    migration: upgrade_d6_taxonomy_vocabulary
-    source: vid
-  name: name
-  description: description
-  weight: weight
-  parent_id:
-    -
-      plugin: skip_on_empty
-      method: process
-      source: parent
-    -
-      plugin: migration
-      migration: upgrade_d6_taxonomy_term
-  parent:
-    plugin: default_value
-    default_value: 0
-    source: '@parent_id'
-  changed: timestamp
-destination:
-  plugin: 'entity:taxonomy_term'
-migration_dependencies:
-  required:
-    - upgrade_d6_taxonomy_vocabulary
-    - upgrade_d6_taxonomy_term
-  optional:
-    - upgrade_d6_taxonomy_vocabulary
-    - upgrade_d6_taxonomy_term

+ 0 - 38
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_taxonomy_vocabulary.yml

@@ -1,38 +0,0 @@
-uuid: 0662b84e-936c-43c5-9c02-911a3805bce7
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_taxonomy_vocabulary
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Taxonomy vocabularies'
-source:
-  plugin: d6_taxonomy_vocabulary
-process:
-  vid:
-    -
-      plugin: machine_name
-      source: name
-    -
-      plugin: make_unique_entity_field
-      entity_type: taxonomy_vocabulary
-      field: vid
-      length: 32
-      migrated: true
-    -
-      plugin: forum_vocabulary
-      machine_name: forums
-  label: name
-  name: name
-  description: description
-  hierarchy: hierarchy
-  weight: weight
-destination:
-  plugin: 'entity:taxonomy_vocabulary'
-migration_dependencies:
-  required: {  }
-  optional: {  }

+ 0 - 63
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_term_node_1.yml

@@ -1,63 +0,0 @@
-uuid: 73d1c405-5be9-45f8-b2ac-c60e8e17a63e
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_term_node_1
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Term/node relationships'
-source:
-  plugin: d6_term_node
-  vid: '1'
-process:
-  nid:
-    -
-      plugin: migration_lookup
-      migration:
-        - upgrade_d6_node_corpus
-        - upgrade_d6_node_entree
-        - upgrade_d6_node_episode
-        - upgrade_d6_node_event
-        - upgrade_d6_node_home
-        - upgrade_d6_node_page
-        - upgrade_d6_node_son
-        - upgrade_d6_node_static
-        - upgrade_d6_node_visual_piece_sonore
-        - upgrade_d6_node_webform
-        - upgrade_d6_node_translation_corpus
-        - upgrade_d6_node_translation_entree
-        - upgrade_d6_node_translation_episode
-        - upgrade_d6_node_translation_event
-        - upgrade_d6_node_translation_home
-        - upgrade_d6_node_translation_page
-        - upgrade_d6_node_translation_son
-        - upgrade_d6_node_translation_static
-        - upgrade_d6_node_translation_visual_piece_sonore
-        - upgrade_d6_node_translation_webform
-      source: nid
-    -
-      plugin: skip_on_empty
-      method: row
-  type: type
-  field_page_type: tid
-destination:
-  plugin: 'entity:node'
-migration_dependencies:
-  required:
-    0: upgrade_d6_vocabulary_entity_display
-    1: upgrade_d6_vocabulary_entity_form_display
-    45: upgrade_d6_node_corpus
-    46: upgrade_d6_node_entree
-    47: upgrade_d6_node_episode
-    48: upgrade_d6_node_event
-    49: upgrade_d6_node_home
-    50: upgrade_d6_node_page
-    51: upgrade_d6_node_son
-    52: upgrade_d6_node_static
-    53: upgrade_d6_node_visual_piece_sonore
-    54: upgrade_d6_node_webform
-  optional: {  }

+ 0 - 63
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_term_node_2.yml

@@ -1,63 +0,0 @@
-uuid: 53653d36-a2d6-477f-b8fb-598bcb82b8fa
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_term_node_2
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Term/node relationships'
-source:
-  plugin: d6_term_node
-  vid: '2'
-process:
-  nid:
-    -
-      plugin: migration_lookup
-      migration:
-        - upgrade_d6_node_corpus
-        - upgrade_d6_node_entree
-        - upgrade_d6_node_episode
-        - upgrade_d6_node_event
-        - upgrade_d6_node_home
-        - upgrade_d6_node_page
-        - upgrade_d6_node_son
-        - upgrade_d6_node_static
-        - upgrade_d6_node_visual_piece_sonore
-        - upgrade_d6_node_webform
-        - upgrade_d6_node_translation_corpus
-        - upgrade_d6_node_translation_entree
-        - upgrade_d6_node_translation_episode
-        - upgrade_d6_node_translation_event
-        - upgrade_d6_node_translation_home
-        - upgrade_d6_node_translation_page
-        - upgrade_d6_node_translation_son
-        - upgrade_d6_node_translation_static
-        - upgrade_d6_node_translation_visual_piece_sonore
-        - upgrade_d6_node_translation_webform
-      source: nid
-    -
-      plugin: skip_on_empty
-      method: row
-  type: type
-  field_entrees: tid
-destination:
-  plugin: 'entity:node'
-migration_dependencies:
-  required:
-    0: upgrade_d6_vocabulary_entity_display
-    1: upgrade_d6_vocabulary_entity_form_display
-    45: upgrade_d6_node_corpus
-    46: upgrade_d6_node_entree
-    47: upgrade_d6_node_episode
-    48: upgrade_d6_node_event
-    49: upgrade_d6_node_home
-    50: upgrade_d6_node_page
-    51: upgrade_d6_node_son
-    52: upgrade_d6_node_static
-    53: upgrade_d6_node_visual_piece_sonore
-    54: upgrade_d6_node_webform
-  optional: {  }

+ 0 - 63
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_term_node_3.yml

@@ -1,63 +0,0 @@
-uuid: 57ea0d00-cb84-4d96-8e37-0713ee6c66cb
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_term_node_3
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Term/node relationships'
-source:
-  plugin: d6_term_node
-  vid: '3'
-process:
-  nid:
-    -
-      plugin: migration_lookup
-      migration:
-        - upgrade_d6_node_corpus
-        - upgrade_d6_node_entree
-        - upgrade_d6_node_episode
-        - upgrade_d6_node_event
-        - upgrade_d6_node_home
-        - upgrade_d6_node_page
-        - upgrade_d6_node_son
-        - upgrade_d6_node_static
-        - upgrade_d6_node_visual_piece_sonore
-        - upgrade_d6_node_webform
-        - upgrade_d6_node_translation_corpus
-        - upgrade_d6_node_translation_entree
-        - upgrade_d6_node_translation_episode
-        - upgrade_d6_node_translation_event
-        - upgrade_d6_node_translation_home
-        - upgrade_d6_node_translation_page
-        - upgrade_d6_node_translation_son
-        - upgrade_d6_node_translation_static
-        - upgrade_d6_node_translation_visual_piece_sonore
-        - upgrade_d6_node_translation_webform
-      source: nid
-    -
-      plugin: skip_on_empty
-      method: row
-  type: type
-  field_genre: tid
-destination:
-  plugin: 'entity:node'
-migration_dependencies:
-  required:
-    0: upgrade_d6_vocabulary_entity_display
-    1: upgrade_d6_vocabulary_entity_form_display
-    45: upgrade_d6_node_corpus
-    46: upgrade_d6_node_entree
-    47: upgrade_d6_node_episode
-    48: upgrade_d6_node_event
-    49: upgrade_d6_node_home
-    50: upgrade_d6_node_page
-    51: upgrade_d6_node_son
-    52: upgrade_d6_node_static
-    53: upgrade_d6_node_visual_piece_sonore
-    54: upgrade_d6_node_webform
-  optional: {  }

+ 0 - 63
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_term_node_4.yml

@@ -1,63 +0,0 @@
-uuid: 486d3f4c-3c60-4642-add0-ffb645d052fa
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_term_node_4
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Term/node relationships'
-source:
-  plugin: d6_term_node
-  vid: '4'
-process:
-  nid:
-    -
-      plugin: migration_lookup
-      migration:
-        - upgrade_d6_node_corpus
-        - upgrade_d6_node_entree
-        - upgrade_d6_node_episode
-        - upgrade_d6_node_event
-        - upgrade_d6_node_home
-        - upgrade_d6_node_page
-        - upgrade_d6_node_son
-        - upgrade_d6_node_static
-        - upgrade_d6_node_visual_piece_sonore
-        - upgrade_d6_node_webform
-        - upgrade_d6_node_translation_corpus
-        - upgrade_d6_node_translation_entree
-        - upgrade_d6_node_translation_episode
-        - upgrade_d6_node_translation_event
-        - upgrade_d6_node_translation_home
-        - upgrade_d6_node_translation_page
-        - upgrade_d6_node_translation_son
-        - upgrade_d6_node_translation_static
-        - upgrade_d6_node_translation_visual_piece_sonore
-        - upgrade_d6_node_translation_webform
-      source: nid
-    -
-      plugin: skip_on_empty
-      method: row
-  type: type
-  field_langues: tid
-destination:
-  plugin: 'entity:node'
-migration_dependencies:
-  required:
-    0: upgrade_d6_vocabulary_entity_display
-    1: upgrade_d6_vocabulary_entity_form_display
-    45: upgrade_d6_node_corpus
-    46: upgrade_d6_node_entree
-    47: upgrade_d6_node_episode
-    48: upgrade_d6_node_event
-    49: upgrade_d6_node_home
-    50: upgrade_d6_node_page
-    51: upgrade_d6_node_son
-    52: upgrade_d6_node_static
-    53: upgrade_d6_node_visual_piece_sonore
-    54: upgrade_d6_node_webform
-  optional: {  }

+ 0 - 65
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_term_node_revision_1.yml

@@ -1,65 +0,0 @@
-uuid: e33e3f06-979e-4e7d-aa4f-9d47a757c65a
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_term_node_revision_1
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Term/node relationship revisions'
-source:
-  plugin: d6_term_node_revision
-  vid: '1'
-process:
-  vid:
-    -
-      plugin: migration_lookup
-      migration:
-        - upgrade_d6_node_corpus
-        - upgrade_d6_node_entree
-        - upgrade_d6_node_episode
-        - upgrade_d6_node_event
-        - upgrade_d6_node_home
-        - upgrade_d6_node_page
-        - upgrade_d6_node_son
-        - upgrade_d6_node_static
-        - upgrade_d6_node_visual_piece_sonore
-        - upgrade_d6_node_webform
-        - upgrade_d6_node_translation_corpus
-        - upgrade_d6_node_translation_entree
-        - upgrade_d6_node_translation_episode
-        - upgrade_d6_node_translation_event
-        - upgrade_d6_node_translation_home
-        - upgrade_d6_node_translation_page
-        - upgrade_d6_node_translation_son
-        - upgrade_d6_node_translation_static
-        - upgrade_d6_node_translation_visual_piece_sonore
-        - upgrade_d6_node_translation_webform
-      source: vid
-    -
-      plugin: skip_on_empty
-      method: row
-  type: type
-  field_page_type: tid
-destination:
-  plugin: 'entity_revision:node'
-migration_dependencies:
-  required:
-    163: upgrade_d6_term_node_1
-    164: upgrade_d6_term_node_2
-    165: upgrade_d6_term_node_3
-    166: upgrade_d6_term_node_4
-    93: upgrade_d6_node_revision_corpus
-    94: upgrade_d6_node_revision_entree
-    95: upgrade_d6_node_revision_episode
-    96: upgrade_d6_node_revision_event
-    97: upgrade_d6_node_revision_home
-    98: upgrade_d6_node_revision_page
-    99: upgrade_d6_node_revision_son
-    100: upgrade_d6_node_revision_static
-    101: upgrade_d6_node_revision_visual_piece_sonore
-    102: upgrade_d6_node_revision_webform
-  optional: {  }

+ 0 - 65
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_term_node_revision_2.yml

@@ -1,65 +0,0 @@
-uuid: 701bc3e0-c6a2-48cc-8e52-6a9ef6d9dd4c
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_term_node_revision_2
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Term/node relationship revisions'
-source:
-  plugin: d6_term_node_revision
-  vid: '2'
-process:
-  vid:
-    -
-      plugin: migration_lookup
-      migration:
-        - upgrade_d6_node_corpus
-        - upgrade_d6_node_entree
-        - upgrade_d6_node_episode
-        - upgrade_d6_node_event
-        - upgrade_d6_node_home
-        - upgrade_d6_node_page
-        - upgrade_d6_node_son
-        - upgrade_d6_node_static
-        - upgrade_d6_node_visual_piece_sonore
-        - upgrade_d6_node_webform
-        - upgrade_d6_node_translation_corpus
-        - upgrade_d6_node_translation_entree
-        - upgrade_d6_node_translation_episode
-        - upgrade_d6_node_translation_event
-        - upgrade_d6_node_translation_home
-        - upgrade_d6_node_translation_page
-        - upgrade_d6_node_translation_son
-        - upgrade_d6_node_translation_static
-        - upgrade_d6_node_translation_visual_piece_sonore
-        - upgrade_d6_node_translation_webform
-      source: vid
-    -
-      plugin: skip_on_empty
-      method: row
-  type: type
-  field_entrees: tid
-destination:
-  plugin: 'entity_revision:node'
-migration_dependencies:
-  required:
-    163: upgrade_d6_term_node_1
-    164: upgrade_d6_term_node_2
-    165: upgrade_d6_term_node_3
-    166: upgrade_d6_term_node_4
-    93: upgrade_d6_node_revision_corpus
-    94: upgrade_d6_node_revision_entree
-    95: upgrade_d6_node_revision_episode
-    96: upgrade_d6_node_revision_event
-    97: upgrade_d6_node_revision_home
-    98: upgrade_d6_node_revision_page
-    99: upgrade_d6_node_revision_son
-    100: upgrade_d6_node_revision_static
-    101: upgrade_d6_node_revision_visual_piece_sonore
-    102: upgrade_d6_node_revision_webform
-  optional: {  }

+ 0 - 65
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_term_node_revision_3.yml

@@ -1,65 +0,0 @@
-uuid: 878d14bb-b19f-4a2e-b1da-6e7cde599391
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_term_node_revision_3
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Term/node relationship revisions'
-source:
-  plugin: d6_term_node_revision
-  vid: '3'
-process:
-  vid:
-    -
-      plugin: migration_lookup
-      migration:
-        - upgrade_d6_node_corpus
-        - upgrade_d6_node_entree
-        - upgrade_d6_node_episode
-        - upgrade_d6_node_event
-        - upgrade_d6_node_home
-        - upgrade_d6_node_page
-        - upgrade_d6_node_son
-        - upgrade_d6_node_static
-        - upgrade_d6_node_visual_piece_sonore
-        - upgrade_d6_node_webform
-        - upgrade_d6_node_translation_corpus
-        - upgrade_d6_node_translation_entree
-        - upgrade_d6_node_translation_episode
-        - upgrade_d6_node_translation_event
-        - upgrade_d6_node_translation_home
-        - upgrade_d6_node_translation_page
-        - upgrade_d6_node_translation_son
-        - upgrade_d6_node_translation_static
-        - upgrade_d6_node_translation_visual_piece_sonore
-        - upgrade_d6_node_translation_webform
-      source: vid
-    -
-      plugin: skip_on_empty
-      method: row
-  type: type
-  field_genre: tid
-destination:
-  plugin: 'entity_revision:node'
-migration_dependencies:
-  required:
-    163: upgrade_d6_term_node_1
-    164: upgrade_d6_term_node_2
-    165: upgrade_d6_term_node_3
-    166: upgrade_d6_term_node_4
-    93: upgrade_d6_node_revision_corpus
-    94: upgrade_d6_node_revision_entree
-    95: upgrade_d6_node_revision_episode
-    96: upgrade_d6_node_revision_event
-    97: upgrade_d6_node_revision_home
-    98: upgrade_d6_node_revision_page
-    99: upgrade_d6_node_revision_son
-    100: upgrade_d6_node_revision_static
-    101: upgrade_d6_node_revision_visual_piece_sonore
-    102: upgrade_d6_node_revision_webform
-  optional: {  }

+ 0 - 65
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_term_node_revision_4.yml

@@ -1,65 +0,0 @@
-uuid: c366e96b-cc48-4ccf-9248-6c54a47f5f2b
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_term_node_revision_4
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Term/node relationship revisions'
-source:
-  plugin: d6_term_node_revision
-  vid: '4'
-process:
-  vid:
-    -
-      plugin: migration_lookup
-      migration:
-        - upgrade_d6_node_corpus
-        - upgrade_d6_node_entree
-        - upgrade_d6_node_episode
-        - upgrade_d6_node_event
-        - upgrade_d6_node_home
-        - upgrade_d6_node_page
-        - upgrade_d6_node_son
-        - upgrade_d6_node_static
-        - upgrade_d6_node_visual_piece_sonore
-        - upgrade_d6_node_webform
-        - upgrade_d6_node_translation_corpus
-        - upgrade_d6_node_translation_entree
-        - upgrade_d6_node_translation_episode
-        - upgrade_d6_node_translation_event
-        - upgrade_d6_node_translation_home
-        - upgrade_d6_node_translation_page
-        - upgrade_d6_node_translation_son
-        - upgrade_d6_node_translation_static
-        - upgrade_d6_node_translation_visual_piece_sonore
-        - upgrade_d6_node_translation_webform
-      source: vid
-    -
-      plugin: skip_on_empty
-      method: row
-  type: type
-  field_langues: tid
-destination:
-  plugin: 'entity_revision:node'
-migration_dependencies:
-  required:
-    163: upgrade_d6_term_node_1
-    164: upgrade_d6_term_node_2
-    165: upgrade_d6_term_node_3
-    166: upgrade_d6_term_node_4
-    93: upgrade_d6_node_revision_corpus
-    94: upgrade_d6_node_revision_entree
-    95: upgrade_d6_node_revision_episode
-    96: upgrade_d6_node_revision_event
-    97: upgrade_d6_node_revision_home
-    98: upgrade_d6_node_revision_page
-    99: upgrade_d6_node_revision_son
-    100: upgrade_d6_node_revision_static
-    101: upgrade_d6_node_revision_visual_piece_sonore
-    102: upgrade_d6_node_revision_webform
-  optional: {  }

+ 0 - 45
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_upload.yml

@@ -1,45 +0,0 @@
-uuid: cc2f9bdb-2a0f-416c-bf2e-4ad7e08314b7
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_upload
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'File uploads'
-source:
-  plugin: d6_upload
-process:
-  nid: nid
-  vid: vid
-  type: type
-  upload:
-    plugin: sub_process
-    source: upload
-    process:
-      target_id:
-        plugin: migration_lookup
-        migration: upgrade_d6_file
-        source: fid
-      display: list
-      description: description
-destination:
-  plugin: 'entity:node'
-migration_dependencies:
-  required:
-    0: upgrade_d6_file
-    45: upgrade_d6_node_corpus
-    46: upgrade_d6_node_entree
-    47: upgrade_d6_node_episode
-    48: upgrade_d6_node_event
-    49: upgrade_d6_node_home
-    50: upgrade_d6_node_page
-    51: upgrade_d6_node_son
-    52: upgrade_d6_node_static
-    53: upgrade_d6_node_visual_piece_sonore
-    54: upgrade_d6_node_webform
-    55: upgrade_d6_upload_field_instance
-  optional: {  }

+ 0 - 43
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_upload_entity_display.yml

@@ -1,43 +0,0 @@
-uuid: a6d8bb82-acd2-4cb9-90d2-930930f131b3
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_upload_entity_display
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Upload display configuration'
-source:
-  plugin: d6_upload_instance
-  constants:
-    entity_type: node
-    view_mode: default
-    name: upload
-    type: file_default
-    options:
-      label: hidden
-      settings: {  }
-process:
-  entity_type: constants/entity_type
-  bundle:
-    -
-      plugin: migration_lookup
-      migration: upgrade_d6_node_type
-      source: node_type
-    -
-      plugin: skip_on_empty
-      method: row
-  view_mode: constants/view_mode
-  field_name: constants/name
-  type: constants/type
-  options: constants/options
-  options/type: '@type'
-destination:
-  plugin: component_entity_display
-migration_dependencies:
-  required:
-    - upgrade_d6_upload_field_instance
-  optional: {  }

+ 0 - 44
web/modules/custom/edlp_migrate/upgrade-export/migrate_plus.migration.upgrade_d6_upload_entity_form_display.yml

@@ -1,44 +0,0 @@
-uuid: e62a29cb-2d2c-4bc6-8582-b75d73bb8abb
-langcode: fr
-status: true
-dependencies: {  }
-id: upgrade_d6_upload_entity_form_display
-class: Drupal\migrate\Plugin\Migration
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 6'
-migration_group: migrate_drupal_6
-label: 'Upload form display configuration'
-source:
-  plugin: d6_upload_instance
-  constants:
-    empty: {  }
-    entity_type: node
-    form_mode: default
-    name: upload
-    type: file_generic
-    options:
-      settings:
-        progress_indicator: throbber
-process:
-  entity_type: constants/entity_type
-  bundle:
-    -
-      plugin: migration_lookup
-      migration: upgrade_d6_node_type
-      source: node_type
-    -
-      plugin: skip_on_empty
-      method: row
-  field_name: constants/name
-  form_mode: constants/form_mode
-  type: constants/type
-  options: constants/options
-  options/type: '@type'
-destination:
-  plugin: component_entity_form_display
-migration_dependencies:
-  required:
-    - upgrade_d6_upload_field_instance
-  optional: {  }

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů