4 Commits 374c688f36 ... 43d32db826

Author SHA1 Message Date
  Bachir Soussi Chiadmi 43d32db826 thesaurus and tags i18n working 5 years ago
  Bachir Soussi Chiadmi 9b34ac0357 onthologie -> thesaurus migration ok 5 years ago
  Bachir Soussi Chiadmi fa418ebdee moved config folder 5 years ago
  Bachir Soussi Chiadmi 878d6f510c created plugins for migration 5 years ago
100 changed files with 1372 additions and 213 deletions
  1. 2 1
      composer.json
  2. 10 15
      composer.lock
  3. 0 35
      modules/custom/materio_migrate/config/install/_migrate_plus.migration.d7_taxonomy_vocabulary_company.yml
  4. 0 35
      modules/custom/materio_migrate/config/install/_migrate_plus.migration.d7_taxonomy_vocabulary_showroom.yml
  5. 0 35
      modules/custom/materio_migrate/config/install/_migrate_plus.migration.d7_taxonomy_vocabulary_tags.yml
  6. 0 35
      modules/custom/materio_migrate/config/install/_migrate_plus.migration.d7_taxonomy_vocabulary_thesaurus.yml
  7. 19 0
      modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_node_entity_translation_materiau.yml
  8. 6 12
      modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_taxonomy_term_company.yml
  9. 6 12
      modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_taxonomy_term_showroom.yml
  10. 9 12
      modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_taxonomy_term_tags.yml
  11. 39 0
      modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_taxonomy_term_tags_i18n.yml
  12. 10 13
      modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_taxonomy_term_thesaurus.yml
  13. 39 0
      modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_taxonomy_term_thesaurus_i18n.yml
  14. 3 7
      modules/custom/materio_migrate/materio_migrate.info.yml
  15. 6 0
      modules/custom/materio_migrate/readme.md
  16. 104 0
      modules/custom/materio_migrate/src/Plugin/migrate/source/D7TaxonomyTermCompany.php
  17. 105 0
      modules/custom/materio_migrate/src/Plugin/migrate/source/D7TaxonomyTermShowroom.php
  18. 111 0
      modules/custom/materio_migrate/src/Plugin/migrate/source/D7TaxonomyTermTags.php
  19. 100 0
      modules/custom/materio_migrate/src/Plugin/migrate/source/D7TaxonomyTermTagsI18n.php
  20. 111 0
      modules/custom/materio_migrate/src/Plugin/migrate/source/D7TaxonomyTermThesaurus.php
  21. 100 0
      modules/custom/materio_migrate/src/Plugin/migrate/source/D7TaxonomyTermThesaurusI18n.php
  22. 0 0
      sites/default/config/sync/.htaccess
  23. 0 0
      sites/default/config/sync/_migrate_plus.migration.d7_taxonomy_vocabulary_company.yml
  24. 0 0
      sites/default/config/sync/_migrate_plus.migration.d7_taxonomy_vocabulary_showroom.yml
  25. 0 0
      sites/default/config/sync/_migrate_plus.migration.d7_taxonomy_vocabulary_tags.yml
  26. 0 0
      sites/default/config/sync/_migrate_plus.migration.d7_taxonomy_vocabulary_thesaurus.yml
  27. 0 0
      sites/default/config/sync/addtoany.settings.yml
  28. 0 0
      sites/default/config/sync/adminimal_theme.settings.yml
  29. 0 0
      sites/default/config/sync/autologout.role.admin.yml
  30. 0 0
      sites/default/config/sync/autologout.role.authenticated.yml
  31. 0 0
      sites/default/config/sync/autologout.role.root.yml
  32. 0 0
      sites/default/config/sync/autologout.role.user.yml
  33. 0 0
      sites/default/config/sync/autologout.settings.yml
  34. 0 0
      sites/default/config/sync/basic.settings.yml
  35. 0 0
      sites/default/config/sync/better_messages.settings.yml
  36. 0 0
      sites/default/config/sync/block.block.adminimal_theme_breadcrumbs.yml
  37. 0 0
      sites/default/config/sync/block.block.adminimal_theme_content.yml
  38. 0 0
      sites/default/config/sync/block.block.adminimal_theme_help.yml
  39. 0 0
      sites/default/config/sync/block.block.adminimal_theme_local_actions.yml
  40. 0 0
      sites/default/config/sync/block.block.adminimal_theme_login.yml
  41. 0 0
      sites/default/config/sync/block.block.adminimal_theme_messages.yml
  42. 0 0
      sites/default/config/sync/block.block.adminimal_theme_page_title.yml
  43. 0 0
      sites/default/config/sync/block.block.adminimal_theme_primary_local_tasks.yml
  44. 0 0
      sites/default/config/sync/block.block.adminimal_theme_secondary_local_tasks.yml
  45. 0 0
      sites/default/config/sync/config_devel.settings.yml
  46. 0 0
      sites/default/config/sync/config_ignore.settings.yml
  47. 0 0
      sites/default/config/sync/contact.form.personal.yml
  48. 0 0
      sites/default/config/sync/contact.settings.yml
  49. 0 0
      sites/default/config/sync/content_lock.settings.yml
  50. 0 0
      sites/default/config/sync/content_lock_timeout.settings.yml
  51. 18 0
      sites/default/config/sync/core.base_field_override.menu_link_content.menu_link_content.changed.yml
  52. 18 0
      sites/default/config/sync/core.base_field_override.menu_link_content.menu_link_content.description.yml
  53. 18 0
      sites/default/config/sync/core.base_field_override.menu_link_content.menu_link_content.title.yml
  54. 18 0
      sites/default/config/sync/core.base_field_override.node.materiau.changed.yml
  55. 18 0
      sites/default/config/sync/core.base_field_override.node.materiau.created.yml
  56. 20 0
      sites/default/config/sync/core.base_field_override.node.materiau.menu_link.yml
  57. 20 0
      sites/default/config/sync/core.base_field_override.node.materiau.path.yml
  58. 22 0
      sites/default/config/sync/core.base_field_override.node.materiau.promote.yml
  59. 22 0
      sites/default/config/sync/core.base_field_override.node.materiau.status.yml
  60. 22 0
      sites/default/config/sync/core.base_field_override.node.materiau.sticky.yml
  61. 18 0
      sites/default/config/sync/core.base_field_override.node.materiau.title.yml
  62. 20 0
      sites/default/config/sync/core.base_field_override.node.materiau.uid.yml
  63. 18 0
      sites/default/config/sync/core.base_field_override.node.static.changed.yml
  64. 18 0
      sites/default/config/sync/core.base_field_override.node.static.created.yml
  65. 20 0
      sites/default/config/sync/core.base_field_override.node.static.menu_link.yml
  66. 20 0
      sites/default/config/sync/core.base_field_override.node.static.path.yml
  67. 1 1
      sites/default/config/sync/core.base_field_override.node.static.promote.yml
  68. 22 0
      sites/default/config/sync/core.base_field_override.node.static.status.yml
  69. 22 0
      sites/default/config/sync/core.base_field_override.node.static.sticky.yml
  70. 18 0
      sites/default/config/sync/core.base_field_override.node.static.title.yml
  71. 20 0
      sites/default/config/sync/core.base_field_override.node.static.uid.yml
  72. 18 0
      sites/default/config/sync/core.base_field_override.taxonomy_term.showroom.synonyms.yml
  73. 18 0
      sites/default/config/sync/core.base_field_override.taxonomy_term.tags.synonyms.yml
  74. 18 0
      sites/default/config/sync/core.base_field_override.taxonomy_term.thesaurus.synonyms.yml
  75. 18 0
      sites/default/config/sync/core.base_field_override.user.user.changed.yml
  76. 19 0
      sites/default/config/sync/core.base_field_override.user.user.path.yml
  77. 0 0
      sites/default/config/sync/core.date_format.fallback.yml
  78. 0 0
      sites/default/config/sync/core.date_format.html_date.yml
  79. 0 0
      sites/default/config/sync/core.date_format.html_datetime.yml
  80. 0 0
      sites/default/config/sync/core.date_format.html_month.yml
  81. 0 0
      sites/default/config/sync/core.date_format.html_time.yml
  82. 0 0
      sites/default/config/sync/core.date_format.html_week.yml
  83. 0 0
      sites/default/config/sync/core.date_format.html_year.yml
  84. 0 0
      sites/default/config/sync/core.date_format.html_yearless_date.yml
  85. 0 0
      sites/default/config/sync/core.date_format.long.yml
  86. 0 0
      sites/default/config/sync/core.date_format.medium.yml
  87. 0 0
      sites/default/config/sync/core.date_format.short.yml
  88. 0 0
      sites/default/config/sync/core.entity_form_display.node.materiau.default.yml
  89. 66 0
      sites/default/config/sync/core.entity_form_display.taxonomy_term.thesaurus.default.yml
  90. 0 0
      sites/default/config/sync/core.entity_form_mode.user.register.yml
  91. 0 0
      sites/default/config/sync/core.entity_view_display.node.materiau.default.yml
  92. 0 0
      sites/default/config/sync/core.entity_view_display.node.materiau.teaser.yml
  93. 0 0
      sites/default/config/sync/core.entity_view_display.node.static.default.yml
  94. 42 0
      sites/default/config/sync/core.entity_view_display.taxonomy_term.thesaurus.default.yml
  95. 0 0
      sites/default/config/sync/core.entity_view_mode.block.token.yml
  96. 0 0
      sites/default/config/sync/core.entity_view_mode.contact_message.token.yml
  97. 0 0
      sites/default/config/sync/core.entity_view_mode.file.token.yml
  98. 0 0
      sites/default/config/sync/core.entity_view_mode.menu_link_content.token.yml
  99. 0 0
      sites/default/config/sync/core.entity_view_mode.node.full.yml
  100. 0 0
      sites/default/config/sync/core.entity_view_mode.node.rss.yml

+ 2 - 1
composer.json

@@ -9,7 +9,8 @@
         "drupal/migrate_plus": "^4.0",
         "drupal/migrate_tools": "^4.0",
         "drupal/config_devel": "^1.2",
-        "drupal/examples": "1.x-dev"
+        "drupal/examples": "1.x-dev",
+        "drupal/synonyms": "1.x-dev"
     },
     "replace": {
         "drupal/core": "^8.6"

+ 10 - 15
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": "1355404c7cbf159069c516929cc0025c",
+    "content-hash": "6d95526da61b6311251b823859c3edcc",
     "packages": [
         {
             "name": "alchemy/zippy",
@@ -5789,20 +5789,14 @@
         },
         {
             "name": "drupal/synonyms",
-            "version": "1.0.0-alpha1",
+            "version": "dev-1.x",
             "source": {
                 "type": "git",
                 "url": "https://git.drupal.org/project/synonyms",
-                "reference": "8.x-1.0-alpha1"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://ftp.drupal.org/files/projects/synonyms-8.x-1.0-alpha1.zip",
-                "reference": "8.x-1.0-alpha1",
-                "shasum": "98d39b5b0a26c7b5f9e6dfc4f72285ad014d14f4"
+                "reference": "5327ef244bad11e859eed9ff71b49cb8f9955190"
             },
             "require": {
-                "drupal/core": "~8.0"
+                "drupal/core": "^8.2"
             },
             "type": "drupal-module",
             "extra": {
@@ -5810,11 +5804,11 @@
                     "dev-1.x": "1.x-dev"
                 },
                 "drupal": {
-                    "version": "8.x-1.0-alpha1",
-                    "datestamp": "1477604941",
+                    "version": "8.x-1.0-alpha1+4-dev",
+                    "datestamp": "1520765584",
                     "security-coverage": {
                         "status": "not-covered",
-                        "message": "Alpha releases are not covered by Drupal security advisories."
+                        "message": "Dev releases are not covered by Drupal security advisories."
                     }
                 }
             },
@@ -5840,7 +5834,8 @@
             "homepage": "https://www.drupal.org/project/synonyms",
             "support": {
                 "source": "http://cgit.drupalcode.org/synonyms"
-            }
+            },
+            "time": "2018-10-21T17:05:25+00:00"
         },
         {
             "name": "drupal/token",
@@ -11766,6 +11761,7 @@
     "minimum-stability": "dev",
     "stability-flags": {
         "drupal/examples": 20,
+        "drupal/synonyms": 20,
         "drupal/advanced_text_formatter": 10,
         "drupal/autocomplete_deluxe": 10,
         "drupal/better_exposed_filters": 15,
@@ -11790,7 +11786,6 @@
         "drupal/pathologic": 15,
         "drupal/profile": 5,
         "drupal/smtp": 10,
-        "drupal/synonyms": 15,
         "drupal/translation_views": 15,
         "drupal/toolbar_themes": 15,
         "drupal/ultimate_cron": 15,

+ 0 - 35
modules/custom/materio_migrate/config/install/_migrate_plus.migration.d7_taxonomy_vocabulary_company.yml

@@ -1,35 +0,0 @@
-id: d7_taxonomy_vocabulary_company
-label: Taxonomy vocabularies Company
-migration_group: d7_materio
-migration_tags:
-  - Drupal 7
-  - Configuration
-  - Materio
-
-source:
-  plugin: d7_taxonomy_vocabulary
-  bundle: company
-
-destination:
-  plugin: entity:taxonomy_vocabulary
-
-process:
-  vid:
-    -
-      plugin: make_unique_entity_field
-      source: machine_name
-      entity_type: taxonomy_vocabulary
-      field: vid
-      length: 32
-      migrated: true
-    -
-      # This plugin checks if the vocabulary being migrated is the one used by
-      # Forum. If so, we use the machine name that Forum expects. Otherwise, we
-      # leave it unchanged.
-      plugin: forum_vocabulary
-      machine_name: forums
-  label: name
-  name: name
-  description: description
-  hierarchy: hierarchy
-  weight: weight

+ 0 - 35
modules/custom/materio_migrate/config/install/_migrate_plus.migration.d7_taxonomy_vocabulary_showroom.yml

@@ -1,35 +0,0 @@
-id: d7_taxonomy_vocabulary_showroom
-label: Taxonomy vocabularies Showroom
-migration_group: d7_materio
-migration_tags:
-  - Drupal 7
-  - Configuration
-  - Materio
-
-source:
-  plugin: d7_taxonomy_vocabulary
-  bundle: showroom
-
-destination:
-  plugin: entity:taxonomy_vocabulary
-
-process:
-  vid:
-    -
-      plugin: make_unique_entity_field
-      source: machine_name
-      entity_type: taxonomy_vocabulary
-      field: vid
-      length: 32
-      migrated: true
-    -
-      # This plugin checks if the vocabulary being migrated is the one used by
-      # Forum. If so, we use the machine name that Forum expects. Otherwise, we
-      # leave it unchanged.
-      plugin: forum_vocabulary
-      machine_name: forums
-  label: name
-  name: name
-  description: description
-  hierarchy: hierarchy
-  weight: weight

+ 0 - 35
modules/custom/materio_migrate/config/install/_migrate_plus.migration.d7_taxonomy_vocabulary_tags.yml

@@ -1,35 +0,0 @@
-id: d7_taxonomy_vocabulary_tags
-label: Taxonomy vocabularies Tags
-migration_group: d7_materio
-migration_tags:
-  - Drupal 7
-  - Configuration
-  - Materio
-
-source:
-  plugin: d7_taxonomy_vocabulary
-  bundle: tag_libres
-
-destination:
-  plugin: entity:taxonomy_vocabulary
-
-process:
-  vid:
-    -
-      plugin: make_unique_entity_field
-      source: machine_name
-      entity_type: taxonomy_vocabulary
-      field: vid
-      length: 32
-      migrated: true
-    -
-      # This plugin checks if the vocabulary being migrated is the one used by
-      # Forum. If so, we use the machine name that Forum expects. Otherwise, we
-      # leave it unchanged.
-      plugin: forum_vocabulary
-      machine_name: forums
-  label: name
-  name: name
-  description: description
-  hierarchy: hierarchy
-  weight: weight

+ 0 - 35
modules/custom/materio_migrate/config/install/_migrate_plus.migration.d7_taxonomy_vocabulary_thesaurus.yml

@@ -1,35 +0,0 @@
-id: d7_taxonomy_vocabulary_thesaurus
-label: Taxonomy vocabularies Thesaurus
-migration_group: d7_materio
-migration_tags:
-  - Drupal 7
-  - Configuration
-  - Materio
-
-source:
-  plugin: d7_taxonomy_vocabulary
-  bundle: onthologie
-
-destination:
-  plugin: entity:taxonomy_vocabulary
-
-process:
-  vid:
-    -
-      plugin: make_unique_entity_field
-      source: machine_name
-      entity_type: taxonomy_vocabulary
-      field: vid
-      length: 32
-      migrated: true
-    -
-      # This plugin checks if the vocabulary being migrated is the one used by
-      # Forum. If so, we use the machine name that Forum expects. Otherwise, we
-      # leave it unchanged.
-      plugin: forum_vocabulary
-      machine_name: forums
-  label: name
-  name: name
-  description: description
-  hierarchy: hierarchy
-  weight: weight

+ 19 - 0
modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_node_entity_translation_materiau.yml

@@ -38,3 +38,22 @@ process:
   revision_log: log
   revision_timestamp: timestamp
   content_translation_source: source
+  
+  # TODO: mémo (field_memo)
+  # TODO: nature (field_nature_titre)
+  # TODO: description (field_description)
+  # TODO: thesaurus (field_onthologie)
+  # TODO: tags (field_tags_libres)
+  # TODO: images (field_materiau_image)
+  # TODO: videos (field_video_filter)
+  # TODO: manufacturer (field_company_fab)
+  # TODO: distributor (field_company_distrib)
+  # TODO: fichiers (field_attachments)
+  # TODO: materiaux liés (field_materiau_ref)
+  # TODO: breves liées (field_breve_ref)
+  # TODO: samples (field_location)
+  # TODO: famille (field_famille)
+  # TODO: identifiant (field_identifiant)
+  # TODO: reference materio (field_reference_materio) COMPUTED
+  # TODO: workflow
+  # TODO: translations

+ 6 - 12
modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_taxonomy_term_company.yml

@@ -9,27 +9,19 @@ migration_tags:
 deriver: Drupal\taxonomy\Plugin\migrate\D7TaxonomyTermDeriver
 
 source:
-  plugin: d7_taxonomy_term
+  plugin: d7_taxonomy_term_company
   bundle: company
 
 destination:
   plugin: entity:taxonomy_term
-  bundle: company
-
-# migration_dependencies:
-#   required:
-#     - d7_taxonomy_vocabulary_company
-#   optional:
-#     - d7_field_instance
 
 process:
   # If you are using this file to build a custom migration consider removing
   # the tid field to allow incremental migrations.
-  tid: tid
+  # tid: tid
   vid:
-    plugin: migration_lookup
-    migration: d7_taxonomy_vocabulary_company
-    source: vid
+    plugin: default_value
+    default_value: company
   name: name
   'description/value': description
   'description/format': format
@@ -49,3 +41,5 @@ process:
     source: '@parent_id'
   forum_container: is_container
   changed: timestamp
+
+  # TODO: tode node company

+ 6 - 12
modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_taxonomy_term_showroom.yml

@@ -9,27 +9,19 @@ migration_tags:
 deriver: Drupal\taxonomy\Plugin\migrate\D7TaxonomyTermDeriver
 
 source:
-  plugin: d7_taxonomy_term
+  plugin: d7_taxonomy_term_showroom
   bundle: showroom
 
 destination:
   plugin: entity:taxonomy_term
-  bundle: showroom
-
-# migration_dependencies:
-#   required:
-#     - d7_taxonomy_vocabulary_showroom
-#   optional:
-#     - d7_field_instance
 
 process:
   # If you are using this file to build a custom migration consider removing
   # the tid field to allow incremental migrations.
-  tid: tid
+  # tid: tid
   vid:
-    plugin: migration_lookup
-    migration: d7_taxonomy_vocabulary_showroom
-    source: vid
+    plugin: default_value
+    default_value: showroom
   name: name
   'description/value': description
   'description/format': format
@@ -49,3 +41,5 @@ process:
     source: '@parent_id'
   forum_container: is_container
   changed: timestamp
+
+  # TODO: tode node showroom

+ 9 - 12
modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_taxonomy_term_tags.yml

@@ -9,27 +9,19 @@ migration_tags:
 deriver: Drupal\taxonomy\Plugin\migrate\D7TaxonomyTermDeriver
 
 source:
-  plugin: d7_taxonomy_term
+  plugin: d7_taxonomy_term_tags
   bundle: tag_libres
 
 destination:
   plugin: entity:taxonomy_term
-  bundle: tags
-
-# migration_dependencies:
-#   required:
-#     - d7_taxonomy_vocabulary_tags
-#   optional:
-#     - d7_field_instance
 
 process:
   # If you are using this file to build a custom migration consider removing
   # the tid field to allow incremental migrations.
   # tid: tid
   vid:
-    plugin: migration_lookup
-    migration: d7_taxonomy_vocabulary_tags
-    source: vid
+    plugin: default_value
+    default_value: tags
   name: name
   'description/value': description
   'description/format': format
@@ -47,5 +39,10 @@ process:
     plugin: default_value
     default_value: 0
     source: '@parent_id'
-  forum_container: is_container
   changed: timestamp
+
+  #synonyms
+  field_synonyms: synonyms_synonym
+
+  # used on advanced search
+  # field_used_on_advanced_search: field_used_on_advanced_search

+ 39 - 0
modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_taxonomy_term_tags_i18n.yml

@@ -0,0 +1,39 @@
+id: d7_taxonomy_term_tags_i18n
+label: Taxonomy terms Tags i18n
+migration_group: d7_materio
+audit: true
+migration_tags:
+  - Drupal 7
+  - Content
+  - Materio
+deriver: Drupal\taxonomy\Plugin\migrate\D7TaxonomyTermDeriver
+
+source:
+  plugin: d7_taxonomy_term_tags_i18n
+  bundle: tag_libres
+  translations: true
+
+destination:
+  plugin: entity:taxonomy_term
+  translations: true
+
+process:
+  tid:
+    plugin: migration_lookup
+    migration: d7_taxonomy_term_tags
+    source: tid
+  vid:
+    plugin: default_value
+    default_value: tags
+  langcode: language
+
+  name: name
+
+  'description/value': description
+  'description/format': format
+
+  field_synonyms: synonyms_synonym
+
+migration_dependencies:
+  required:
+    - d7_taxonomy_term_tags

+ 10 - 13
modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_taxonomy_term_thesaurus.yml

@@ -9,27 +9,19 @@ migration_tags:
 deriver: Drupal\taxonomy\Plugin\migrate\D7TaxonomyTermDeriver
 
 source:
-  plugin: d7_taxonomy_term
+  plugin: d7_taxonomy_term_thesaurus
   bundle: onthologie
 
 destination:
   plugin: entity:taxonomy_term
-  bundle: thesaurus
-
-# migration_dependencies:
-#   required:
-#     - d7_taxonomy_vocabulary_thesaurus
-#   optional:
-#     - d7_field_instance
 
 process:
   # If you are using this file to build a custom migration consider removing
   # the tid field to allow incremental migrations.
-  tid: tid
+  # tid: tid
   vid:
-    plugin: migration_lookup
-    migration: d7_taxonomy_vocabulary_thesaurus
-    source: vid
+    plugin: default_value
+    default_value: thesaurus
   name: name
   'description/value': description
   'description/format': format
@@ -47,5 +39,10 @@ process:
     plugin: default_value
     default_value: 0
     source: '@parent_id'
-  forum_container: is_container
   changed: timestamp
+
+  #synonyms
+  field_synonyms: synonyms_synonym
+
+  # used on advanced search
+  field_used_on_advanced_search: field_used_on_advanced_search

+ 39 - 0
modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_taxonomy_term_thesaurus_i18n.yml

@@ -0,0 +1,39 @@
+id: d7_taxonomy_term_thesaurus_i18n
+label: Taxonomy terms Thesaurus i18n
+migration_group: d7_materio
+audit: true
+migration_tags:
+  - Drupal 7
+  - Content
+  - Materio
+deriver: Drupal\taxonomy\Plugin\migrate\D7TaxonomyTermDeriver
+
+source:
+  plugin: d7_taxonomy_term_thesaurus_i18n
+  bundle: onthologie
+  translations: true
+
+destination:
+  plugin: entity:taxonomy_term
+  translations: true
+
+process:
+  tid:
+    plugin: migration_lookup
+    migration: d7_taxonomy_term_thesaurus
+    source: tid
+  vid:
+    plugin: default_value
+    default_value: thesaurus
+  langcode: language
+
+  name: name
+
+  'description/value': description
+  'description/format': format
+
+  field_synonyms: synonyms_synonym
+
+migration_dependencies:
+  required:
+    - d7_taxonomy_term_thesaurus

+ 3 - 7
modules/custom/materio_migrate/materio_migrate.info.yml

@@ -4,23 +4,19 @@ description: Defines custom migration for materio (from d7 to d8).
 core: 8.x
 package: Materio
 dependencies:
+  - config_devel
   - drupal:migrate
   - drupal:migrate_drupal
   - drupal:migrate_drupal_multilingual
-  # - drupal:field_group_migrate
   - migrate_plus:migrate_plus
   - migrate_tools:migrate_tools
-  - config_devel
+  # - drupal:field_group_migrate
 
 config_devel:
  install:
   - migrate_plus.migration_group.d7_materio
-  # - migrate_plus.migration.d7_taxonomy_vocabulary_tags
-  - migrate_plus.migration.d7_taxonomy_term_tags
-  # - migrate_plus.migration.d7_taxonomy_vocabulary_thesaurus
   - migrate_plus.migration.d7_taxonomy_term_thesaurus
-  # - migrate_plus.migration.d7_taxonomy_vocabulary_showroom
+  - migrate_plus.migration.d7_taxonomy_term_tags
   - migrate_plus.migration.d7_taxonomy_term_showroom
-  # - migrate_plus.migration.d7_taxonomy_vocabulary_company
   - migrate_plus.migration.d7_taxonomy_term_company
   - migrate_plus.migration.d7_node_entity_translation_materiau

+ 6 - 0
modules/custom/materio_migrate/readme.md

@@ -1,3 +1,5 @@
+[debugging-migrations](https://www.drupal.org/docs/8/api/migrate-api/debugging-migrations)
+
 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/
@@ -27,3 +29,7 @@ https://evolvingweb.ca/blog/drupal-8-migration-migrating-taxonomy-term-reference
 [Migrating Drupal 7 redirects to Drupal 8](http://activelamp.com/blog/drupal/migrating-drupal-8-redirects/)
 
 [How to refresh new migrations in Drupal 8 migration module?](https://drupal.stackexchange.com/questions/191435/how-to-refresh-new-migrations-in-drupal-8-migration-module)
+
+[Drupal 8 Migrations: Taxonomy and Nodes](https://www.phase2technology.com/blog/drupal-8-migrations)
+
+[Migrating Content Translated with "Content Translation" from Drupal 7 to Drupal 8](https://evolvingweb.ca/blog/migrating-content-translated-content-translation-drupal-7-drupal-8)

+ 104 - 0
modules/custom/materio_migrate/src/Plugin/migrate/source/D7TaxonomyTermCompany.php

@@ -0,0 +1,104 @@
+<?php
+
+namespace Drupal\materio_migrate\Plugin\migrate\source;
+
+use Drupal\migrate\Row;
+use Drupal\migrate_drupal\Plugin\migrate\source\d7\FieldableEntity;
+
+/**
+ * Taxonomy term source from database.
+ *
+ * @MigrateSource(
+ *   id = "d7_taxonomy_term_company",
+ *   source_module = "taxonomy"
+ * )
+ */
+class D7TaxonomyTermCompany extends FieldableEntity {
+
+  /**
+   * {@inheritdoc}
+   */
+  public function query() {
+    $query = $this->select('taxonomy_term_data', 'td')
+      ->fields('td')
+      ->distinct()
+      ->orderBy('tid');
+    $query->leftJoin('taxonomy_vocabulary', 'tv', 'td.vid = tv.vid');
+    $query->addField('tv', 'machine_name');
+
+    if (isset($this->configuration['bundle'])) {
+      $query->condition('tv.machine_name', (array) $this->configuration['bundle'], 'IN');
+    }
+
+    return $query;
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function fields() {
+    $fields = [
+      'tid' => $this->t('The term ID.'),
+      'vid' => $this->t('Existing term VID'),
+      'machine_name' => $this->t('Vocabulary machine name'),
+      '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."),
+      'format' => $this->t("Format of the term description."),
+    ];
+    return $fields;
+  }
+
+
+  /**
+   * {@inheritdoc}
+   */
+  public function prepareRow(Row $row) {
+    print("\n".'-- prepareRow -- '.$row->getSourceProperty('tid')." -- ".$row->getSourceProperty('name')."\n");
+
+    // Get Field API field values.
+    foreach (array_keys($this->getFields('taxonomy_term', $row->getSourceProperty('machine_name'))) as $field) {
+      $tid = $row->getSourceProperty('tid');
+      $row->setSourceProperty($field, $this->getFieldValues('taxonomy_term', $field, $tid));
+    }
+
+    // Find parents for this row.
+    $parents = $this->select('taxonomy_term_hierarchy', 'th')
+      ->fields('th', ['parent', 'tid'])
+      ->condition('tid', $row->getSourceProperty('tid'))
+      ->execute()
+      ->fetchCol();
+    $row->setSourceProperty('parent', $parents);
+    // print_r($parents);
+
+    // If the term name or term description were replaced by real fields using
+    // the Drupal 7 Title module, use the fields value instead of the term name
+    // or term description.
+    // TODO: translations
+    if ($this->moduleExists('title')) {
+      $name_field = $row->getSourceProperty('name_field');
+      // print_r($name_field);
+      if (isset($name_field[0]['value'])) {
+        $row->setSourceProperty('name', $name_field[0]['value']);
+      }
+      $description_field = $row->getSourceProperty('description_field');
+      if (isset($description_field[0]['value'])) {
+        $row->setSourceProperty('description', $description_field[0]['value']);
+      }
+    }
+
+    // TODO: tode node company
+
+    return parent::prepareRow($row);
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function getIds() {
+    $ids['tid']['type'] = 'integer';
+    return $ids;
+  }
+
+}

+ 105 - 0
modules/custom/materio_migrate/src/Plugin/migrate/source/D7TaxonomyTermShowroom.php

@@ -0,0 +1,105 @@
+<?php
+
+namespace Drupal\materio_migrate\Plugin\migrate\source;
+
+use Drupal\migrate\Row;
+use Drupal\migrate_drupal\Plugin\migrate\source\d7\FieldableEntity;
+
+/**
+ * Taxonomy term source from database.
+ *
+ * @MigrateSource(
+ *   id = "d7_taxonomy_term_showroom",
+ *   source_module = "taxonomy"
+ * )
+ */
+class D7TaxonomyTermShowroom extends FieldableEntity {
+
+  /**
+   * {@inheritdoc}
+   */
+  public function query() {
+    $query = $this->select('taxonomy_term_data', 'td')
+      ->fields('td')
+      ->distinct()
+      ->orderBy('tid');
+    $query->leftJoin('taxonomy_vocabulary', 'tv', 'td.vid = tv.vid');
+    $query->addField('tv', 'machine_name');
+
+    if (isset($this->configuration['bundle'])) {
+      $query->condition('tv.machine_name', (array) $this->configuration['bundle'], 'IN');
+    }
+
+    return $query;
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function fields() {
+    $fields = [
+      'tid' => $this->t('The term ID.'),
+      'vid' => $this->t('Existing term VID'),
+      'machine_name' => $this->t('Vocabulary machine name'),
+      '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."),
+      'format' => $this->t("Format of the term description."),
+    ];
+    return $fields;
+  }
+
+
+  /**
+   * {@inheritdoc}
+   */
+  public function prepareRow(Row $row) {
+    print("\n".'-- prepareRow -- '.$row->getSourceProperty('tid')." -- ".$row->getSourceProperty('name')."\n");
+
+    // Get Field API field values.
+    foreach (array_keys($this->getFields('taxonomy_term', $row->getSourceProperty('machine_name'))) as $field) {
+      $tid = $row->getSourceProperty('tid');
+      $row->setSourceProperty($field, $this->getFieldValues('taxonomy_term', $field, $tid));
+    }
+
+    // Find parents for this row.
+    $parents = $this->select('taxonomy_term_hierarchy', 'th')
+      ->fields('th', ['parent', 'tid'])
+      ->condition('tid', $row->getSourceProperty('tid'))
+      ->execute()
+      ->fetchCol();
+    $row->setSourceProperty('parent', $parents);
+    // print_r($parents);
+
+    // If the term name or term description were replaced by real fields using
+    // the Drupal 7 Title module, use the fields value instead of the term name
+    // or term description.
+    // TODO: translations
+    if ($this->moduleExists('title')) {
+      $name_field = $row->getSourceProperty('name_field');
+      // print_r($name_field);
+      if (isset($name_field[0]['value'])) {
+        $row->setSourceProperty('name', $name_field[0]['value']);
+      }
+      $description_field = $row->getSourceProperty('description_field');
+      if (isset($description_field[0]['value'])) {
+        $row->setSourceProperty('description', $description_field[0]['value']);
+      }
+    }
+
+    // TODO: tode node showroom
+
+
+    return parent::prepareRow($row);
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function getIds() {
+    $ids['tid']['type'] = 'integer';
+    return $ids;
+  }
+
+}

+ 111 - 0
modules/custom/materio_migrate/src/Plugin/migrate/source/D7TaxonomyTermTags.php

@@ -0,0 +1,111 @@
+<?php
+
+namespace Drupal\materio_migrate\Plugin\migrate\source;
+
+use Drupal\migrate\Row;
+use Drupal\migrate_drupal\Plugin\migrate\source\d7\FieldableEntity;
+
+/**
+ * Taxonomy term source from database.
+ *
+ * @MigrateSource(
+ *   id = "d7_taxonomy_term_tags",
+ *   source_module = "taxonomy"
+ * )
+ */
+class D7TaxonomyTermTags extends FieldableEntity {
+
+  /**
+   * {@inheritdoc}
+   */
+  public function query() {
+    $query = $this->select('taxonomy_term_data', 'td')
+      ->fields('td')
+      ->condition('et.entity_type', 'taxonomy_term')
+      ->condition('et.source', '')
+      ->orderBy('tid');
+
+    $query->innerJoin('entity_translation', 'et', 'et.entity_id = td.tid');
+    $query->fields('et');
+
+    $query->leftJoin('taxonomy_vocabulary', 'tv', 'td.vid = tv.vid');
+    $query->addField('tv', 'machine_name');
+
+    if (isset($this->configuration['bundle'])) {
+      $query->condition('tv.machine_name', (array) $this->configuration['bundle'], 'IN');
+    }
+
+    return $query;
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function fields() {
+    $fields = [
+      'tid' => $this->t('The term ID.'),
+      'vid' => $this->t('Existing term VID'),
+      'machine_name' => $this->t('Vocabulary machine name'),
+      '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."),
+      'format' => $this->t("Format of the term description."),
+      'synonyms' => $this->t("Term's Synonyms (field : synonyms_synonym)"),
+      'displayed_on_advanced_search' => $this->t("field_used_on_advanced_search"),
+      'revision_id' => $this->t('Revision ID'),
+      'language' => $this->t('Term translation language'),
+      'source' => $this->t('Term translation source language'),
+    ];
+    return $fields;
+  }
+
+
+  /**
+   * {@inheritdoc}
+   */
+  public function prepareRow(Row $row) {
+    $language = $row->getSourceProperty('language');
+    drush_print('-- '.$language.' -- '.$row->getSourceProperty('tid')." -- ".$row->getSourceProperty('name')." -- ".$row->getSourceProperty('weight'));
+
+    $tid = $row->getSourceProperty('tid');
+    // vocabulary machine name
+    $machine_name = $row->getSourceProperty('machine_name');
+    $revid = $row->getSourceProperty('revision_id');
+
+    // Get Field API field values.
+    foreach ($this->getFields('taxonomy_term', $machine_name) as $field_name => $field) {
+      // Ensure we're using the right language if the entity is translatable.
+      $field_language = $field['translatable'] ? $language : NULL;
+      $row->setSourceProperty($field_name, $this->getFieldValues('taxonomy_term', $field_name, $tid, $revid, $field_language));
+    }
+
+    // Find parents for this row.
+    $parents = $this->select('taxonomy_term_hierarchy', 'th')
+      ->fields('th', ['parent', 'tid'])
+      ->condition('tid', $row->getSourceProperty('tid'))
+      ->execute()
+      ->fetchCol();
+    $row->setSourceProperty('parent', $parents);
+
+    // If the node title was replaced by a real field using the Drupal 7 Title
+    // module, use the field value instead of the node title.
+    if ($this->moduleExists('title')) {
+      $name_field = $row->getSourceProperty('name_field');
+      if (isset($name_field[0]['value'])) {
+        $row->setSourceProperty('name', $name_field[0]['value']);
+      }
+    }
+
+    return parent::prepareRow($row);
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function getIds() {
+    $ids['tid']['type'] = 'integer';
+    return $ids;
+  }
+
+}

+ 100 - 0
modules/custom/materio_migrate/src/Plugin/migrate/source/D7TaxonomyTermTagsI18n.php

@@ -0,0 +1,100 @@
+<?php
+
+namespace Drupal\materio_migrate\Plugin\migrate\source;
+
+use Drupal\migrate\Row;
+use Drupal\migrate_drupal\Plugin\migrate\source\d7\FieldableEntity;
+
+/**
+ * Taxonomy term source from database.
+ *
+ * @MigrateSource(
+ *   id = "d7_taxonomy_term_tags_i18n",
+ *   source_module = "taxonomy"
+ * )
+ */
+class D7TaxonomyTermTagsI18n extends FieldableEntity {
+
+  /**
+   * {@inheritdoc}
+   */
+  public function query() {
+    $query = $this->select('taxonomy_term_data', 'td')
+      ->fields('td')
+      ->condition('et.entity_type', 'taxonomy_term')
+      ->condition('et.source', '', '<>')
+      ->orderBy('tid');
+
+    $query->innerJoin('entity_translation', 'et', 'et.entity_id = td.tid');
+    $query->fields('et');
+    $query->leftJoin('taxonomy_vocabulary', 'tv', 'tv.vid = td.vid');
+    $query->fields('tv', ['machine_name']);
+
+    if (isset($this->configuration['bundle'])) {
+      $query->condition('tv.machine_name', (array) $this->configuration['bundle'], 'IN');
+    }
+    return $query;
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function fields() {
+    $fields = [
+      'tid' => $this->t('The term ID.'),
+      'vid' => $this->t('Existing term VID'),
+      'machine_name' => $this->t('Vocabulary machine name'),
+      'name' => $this->t('The name of the term.'),
+      'revision_id' => $this->t('Revision ID'),
+      'language' => $this->t('Term translation language'),
+      'source' => $this->t('Term translation source language'),
+      'description' => $this->t('The term description.'),
+      'weight' => $this->t('Weight'),
+      'parent' => $this->t("The Drupal term IDs of the term's parents."),
+      'format' => $this->t("Format of the term description."),
+    ];
+    return $fields;
+  }
+
+
+  /**
+   * {@inheritdoc}
+   */
+  public function prepareRow(Row $row) {
+    $language = $row->getSourceProperty('language');
+    $tid = $row->getSourceProperty('tid');
+
+    drush_print('-- '. $language .' -- '.$tid." -- ".$row->getSourceProperty('name')." -- ".$row->getSourceProperty('weight'));
+
+    // vocabulary machine name
+    $machine_name = $row->getSourceProperty('machine_name');
+    $revid = $row->getSourceProperty('revision_id');
+
+    // Get Field API field values.
+    foreach ($this->getFields('taxonomy_term', $machine_name) as $field_name => $field) {
+      // Ensure we're using the right language if the entity is translatable.
+      $field_language = $field['translatable'] ? $language : NULL;
+      $row->setSourceProperty($field_name, $this->getFieldValues('taxonomy_term', $field_name, $tid, $revid, $field_language));
+    }
+
+    // If the node title was replaced by a real field using the Drupal 7 Title
+    // module, use the field value instead of the node title.
+    if ($this->moduleExists('title')) {
+      $name_field = $row->getSourceProperty('name_field');
+      if (isset($name_field[0]['value'])) {
+        $row->setSourceProperty('name', $name_field[0]['value']);
+      }
+    }
+
+    return parent::prepareRow($row);
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function getIds() {
+    $ids['tid']['type'] = 'integer';
+    return $ids;
+  }
+
+}

+ 111 - 0
modules/custom/materio_migrate/src/Plugin/migrate/source/D7TaxonomyTermThesaurus.php

@@ -0,0 +1,111 @@
+<?php
+
+namespace Drupal\materio_migrate\Plugin\migrate\source;
+
+use Drupal\migrate\Row;
+use Drupal\migrate_drupal\Plugin\migrate\source\d7\FieldableEntity;
+
+/**
+ * Taxonomy term source from database.
+ *
+ * @MigrateSource(
+ *   id = "d7_taxonomy_term_thesaurus",
+ *   source_module = "taxonomy"
+ * )
+ */
+class D7TaxonomyTermThesaurus extends FieldableEntity {
+
+  /**
+   * {@inheritdoc}
+   */
+  public function query() {
+    $query = $this->select('taxonomy_term_data', 'td')
+      ->fields('td')
+      ->condition('et.entity_type', 'taxonomy_term')
+      ->condition('et.source', '')
+      ->orderBy('tid');
+
+    $query->innerJoin('entity_translation', 'et', 'et.entity_id = td.tid');
+    $query->fields('et');
+
+    $query->leftJoin('taxonomy_vocabulary', 'tv', 'td.vid = tv.vid');
+    $query->addField('tv', 'machine_name');
+
+    if (isset($this->configuration['bundle'])) {
+      $query->condition('tv.machine_name', (array) $this->configuration['bundle'], 'IN');
+    }
+
+    return $query;
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function fields() {
+    $fields = [
+      'tid' => $this->t('The term ID.'),
+      'vid' => $this->t('Existing term VID'),
+      'machine_name' => $this->t('Vocabulary machine name'),
+      '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."),
+      'format' => $this->t("Format of the term description."),
+      'synonyms' => $this->t("Term's Synonyms (field : synonyms_synonym)"),
+      'displayed_on_advanced_search' => $this->t("field_used_on_advanced_search"),
+      'revision_id' => $this->t('Revision ID'),
+      'language' => $this->t('Term translation language'),
+      'source' => $this->t('Term translation source language'),
+    ];
+    return $fields;
+  }
+
+
+  /**
+   * {@inheritdoc}
+   */
+  public function prepareRow(Row $row) {
+    $language = $row->getSourceProperty('language');
+    drush_print('-- '.$language.' -- '.$row->getSourceProperty('tid')." -- ".$row->getSourceProperty('name')." -- ".$row->getSourceProperty('weight'));
+
+    $tid = $row->getSourceProperty('tid');
+    // vocabulary machine name
+    $machine_name = $row->getSourceProperty('machine_name');
+    $revid = $row->getSourceProperty('revision_id');
+
+    // Get Field API field values.
+    foreach ($this->getFields('taxonomy_term', $machine_name) as $field_name => $field) {
+      // Ensure we're using the right language if the entity is translatable.
+      $field_language = $field['translatable'] ? $language : NULL;
+      $row->setSourceProperty($field_name, $this->getFieldValues('taxonomy_term', $field_name, $tid, $revid, $field_language));
+    }
+
+    // Find parents for this row.
+    $parents = $this->select('taxonomy_term_hierarchy', 'th')
+      ->fields('th', ['parent', 'tid'])
+      ->condition('tid', $row->getSourceProperty('tid'))
+      ->execute()
+      ->fetchCol();
+    $row->setSourceProperty('parent', $parents);
+
+    // If the node title was replaced by a real field using the Drupal 7 Title
+    // module, use the field value instead of the node title.
+    if ($this->moduleExists('title')) {
+      $name_field = $row->getSourceProperty('name_field');
+      if (isset($name_field[0]['value'])) {
+        $row->setSourceProperty('name', $name_field[0]['value']);
+      }
+    }
+
+    return parent::prepareRow($row);
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function getIds() {
+    $ids['tid']['type'] = 'integer';
+    return $ids;
+  }
+
+}

+ 100 - 0
modules/custom/materio_migrate/src/Plugin/migrate/source/D7TaxonomyTermThesaurusI18n.php

@@ -0,0 +1,100 @@
+<?php
+
+namespace Drupal\materio_migrate\Plugin\migrate\source;
+
+use Drupal\migrate\Row;
+use Drupal\migrate_drupal\Plugin\migrate\source\d7\FieldableEntity;
+
+/**
+ * Taxonomy term source from database.
+ *
+ * @MigrateSource(
+ *   id = "d7_taxonomy_term_thesaurus_i18n",
+ *   source_module = "taxonomy"
+ * )
+ */
+class D7TaxonomyTermThesaurusI18n extends FieldableEntity {
+
+  /**
+   * {@inheritdoc}
+   */
+  public function query() {
+    $query = $this->select('taxonomy_term_data', 'td')
+      ->fields('td')
+      ->condition('et.entity_type', 'taxonomy_term')
+      ->condition('et.source', '', '<>')
+      ->orderBy('tid');
+
+    $query->innerJoin('entity_translation', 'et', 'et.entity_id = td.tid');
+    $query->fields('et');
+    $query->leftJoin('taxonomy_vocabulary', 'tv', 'tv.vid = td.vid');
+    $query->fields('tv', ['machine_name']);
+
+    if (isset($this->configuration['bundle'])) {
+      $query->condition('tv.machine_name', (array) $this->configuration['bundle'], 'IN');
+    }
+    return $query;
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function fields() {
+    $fields = [
+      'tid' => $this->t('The term ID.'),
+      'vid' => $this->t('Existing term VID'),
+      'machine_name' => $this->t('Vocabulary machine name'),
+      'name' => $this->t('The name of the term.'),
+      'revision_id' => $this->t('Revision ID'),
+      'language' => $this->t('Term translation language'),
+      'source' => $this->t('Term translation source language'),
+      'description' => $this->t('The term description.'),
+      'weight' => $this->t('Weight'),
+      'parent' => $this->t("The Drupal term IDs of the term's parents."),
+      'format' => $this->t("Format of the term description."),
+    ];
+    return $fields;
+  }
+
+
+  /**
+   * {@inheritdoc}
+   */
+  public function prepareRow(Row $row) {
+    $language = $row->getSourceProperty('language');
+    $tid = $row->getSourceProperty('tid');
+
+    drush_print('-- '. $language .' -- '.$tid." -- ".$row->getSourceProperty('name')." -- ".$row->getSourceProperty('weight'));
+
+    // vocabulary machine name
+    $machine_name = $row->getSourceProperty('machine_name');
+    $revid = $row->getSourceProperty('revision_id');
+
+    // Get Field API field values.
+    foreach ($this->getFields('taxonomy_term', $machine_name) as $field_name => $field) {
+      // Ensure we're using the right language if the entity is translatable.
+      $field_language = $field['translatable'] ? $language : NULL;
+      $row->setSourceProperty($field_name, $this->getFieldValues('taxonomy_term', $field_name, $tid, $revid, $field_language));
+    }
+
+    // If the node title was replaced by a real field using the Drupal 7 Title
+    // module, use the field value instead of the node title.
+    if ($this->moduleExists('title')) {
+      $name_field = $row->getSourceProperty('name_field');
+      if (isset($name_field[0]['value'])) {
+        $row->setSourceProperty('name', $name_field[0]['value']);
+      }
+    }
+
+    return parent::prepareRow($row);
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function getIds() {
+    $ids['tid']['type'] = 'integer';
+    return $ids;
+  }
+
+}

+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/.htaccess → sites/default/config/sync/.htaccess


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/_migrate_plus.migration.d7_taxonomy_vocabulary_company.yml → sites/default/config/sync/_migrate_plus.migration.d7_taxonomy_vocabulary_company.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/_migrate_plus.migration.d7_taxonomy_vocabulary_showroom.yml → sites/default/config/sync/_migrate_plus.migration.d7_taxonomy_vocabulary_showroom.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/_migrate_plus.migration.d7_taxonomy_vocabulary_tags.yml → sites/default/config/sync/_migrate_plus.migration.d7_taxonomy_vocabulary_tags.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/_migrate_plus.migration.d7_taxonomy_vocabulary_thesaurus.yml → sites/default/config/sync/_migrate_plus.migration.d7_taxonomy_vocabulary_thesaurus.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/addtoany.settings.yml → sites/default/config/sync/addtoany.settings.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/adminimal_theme.settings.yml → sites/default/config/sync/adminimal_theme.settings.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/autologout.role.admin.yml → sites/default/config/sync/autologout.role.admin.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/autologout.role.authenticated.yml → sites/default/config/sync/autologout.role.authenticated.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/autologout.role.root.yml → sites/default/config/sync/autologout.role.root.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/autologout.role.user.yml → sites/default/config/sync/autologout.role.user.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/autologout.settings.yml → sites/default/config/sync/autologout.settings.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/basic.settings.yml → sites/default/config/sync/basic.settings.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/better_messages.settings.yml → sites/default/config/sync/better_messages.settings.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/block.block.adminimal_theme_breadcrumbs.yml → sites/default/config/sync/block.block.adminimal_theme_breadcrumbs.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/block.block.adminimal_theme_content.yml → sites/default/config/sync/block.block.adminimal_theme_content.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/block.block.adminimal_theme_help.yml → sites/default/config/sync/block.block.adminimal_theme_help.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/block.block.adminimal_theme_local_actions.yml → sites/default/config/sync/block.block.adminimal_theme_local_actions.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/block.block.adminimal_theme_login.yml → sites/default/config/sync/block.block.adminimal_theme_login.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/block.block.adminimal_theme_messages.yml → sites/default/config/sync/block.block.adminimal_theme_messages.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/block.block.adminimal_theme_page_title.yml → sites/default/config/sync/block.block.adminimal_theme_page_title.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/block.block.adminimal_theme_primary_local_tasks.yml → sites/default/config/sync/block.block.adminimal_theme_primary_local_tasks.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/block.block.adminimal_theme_secondary_local_tasks.yml → sites/default/config/sync/block.block.adminimal_theme_secondary_local_tasks.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/config_devel.settings.yml → sites/default/config/sync/config_devel.settings.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/config_ignore.settings.yml → sites/default/config/sync/config_ignore.settings.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/contact.form.personal.yml → sites/default/config/sync/contact.form.personal.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/contact.settings.yml → sites/default/config/sync/contact.settings.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/content_lock.settings.yml → sites/default/config/sync/content_lock.settings.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/content_lock_timeout.settings.yml → sites/default/config/sync/content_lock_timeout.settings.yml


+ 18 - 0
sites/default/config/sync/core.base_field_override.menu_link_content.menu_link_content.changed.yml

@@ -0,0 +1,18 @@
+uuid: 4e31cb07-6b53-4a72-848a-7968cceee6e9
+langcode: en
+status: true
+dependencies:
+  module:
+    - menu_link_content
+id: menu_link_content.menu_link_content.changed
+field_name: changed
+entity_type: menu_link_content
+bundle: menu_link_content
+label: Changed
+description: 'The time that the menu link was last edited.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: changed

+ 18 - 0
sites/default/config/sync/core.base_field_override.menu_link_content.menu_link_content.description.yml

@@ -0,0 +1,18 @@
+uuid: d7760c7c-62fd-4641-9410-a162c93068ef
+langcode: en
+status: true
+dependencies:
+  module:
+    - menu_link_content
+id: menu_link_content.menu_link_content.description
+field_name: description
+entity_type: menu_link_content
+bundle: menu_link_content
+label: Description
+description: 'Shown when hovering over the menu link.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 18 - 0
sites/default/config/sync/core.base_field_override.menu_link_content.menu_link_content.title.yml

@@ -0,0 +1,18 @@
+uuid: 20f7024b-4aa3-4973-9a6a-4d17dec08060
+langcode: en
+status: true
+dependencies:
+  module:
+    - menu_link_content
+id: menu_link_content.menu_link_content.title
+field_name: title
+entity_type: menu_link_content
+bundle: menu_link_content
+label: 'Menu link title'
+description: 'The text to be used for this link in the menu.'
+required: true
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 18 - 0
sites/default/config/sync/core.base_field_override.node.materiau.changed.yml

@@ -0,0 +1,18 @@
+uuid: cf06279e-b270-4774-9ee2-a33d9c6941b8
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.materiau
+id: node.materiau.changed
+field_name: changed
+entity_type: node
+bundle: materiau
+label: Changed
+description: 'The time that the node was last edited.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: changed

+ 18 - 0
sites/default/config/sync/core.base_field_override.node.materiau.created.yml

@@ -0,0 +1,18 @@
+uuid: 4b937bb2-12f0-45f9-a4ce-1888bbd450c9
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.materiau
+id: node.materiau.created
+field_name: created
+entity_type: node
+bundle: materiau
+label: 'Authored on'
+description: 'The time that the node was created.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: created

+ 20 - 0
sites/default/config/sync/core.base_field_override.node.materiau.menu_link.yml

@@ -0,0 +1,20 @@
+uuid: 2ebbda25-8552-4c3c-a936-32957d262663
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.materiau
+id: node.materiau.menu_link
+field_name: menu_link
+entity_type: node
+bundle: materiau
+label: 'Menu link'
+description: 'Computed menu link for the node (only available during node saving).'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: default
+  handler_settings: {  }
+field_type: entity_reference

+ 20 - 0
sites/default/config/sync/core.base_field_override.node.materiau.path.yml

@@ -0,0 +1,20 @@
+uuid: 7cfd4964-b165-481f-85c8-770b7edbaaca
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.materiau
+  module:
+    - path
+id: node.materiau.path
+field_name: path
+entity_type: node
+bundle: materiau
+label: 'URL alias'
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: path

+ 22 - 0
sites/default/config/sync/core.base_field_override.node.materiau.promote.yml

@@ -0,0 +1,22 @@
+uuid: 8126c211-1a96-4bc4-bc27-1931a4c90f7e
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.materiau
+id: node.materiau.promote
+field_name: promote
+entity_type: node
+bundle: materiau
+label: 'Promoted to front page'
+description: ''
+required: false
+translatable: false
+default_value:
+  -
+    value: 1
+default_value_callback: ''
+settings:
+  on_label: 'On'
+  off_label: 'Off'
+field_type: boolean

+ 22 - 0
sites/default/config/sync/core.base_field_override.node.materiau.status.yml

@@ -0,0 +1,22 @@
+uuid: 73bf3d21-6f52-4db7-8e9d-bdecd4bc4cbc
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.materiau
+id: node.materiau.status
+field_name: status
+entity_type: node
+bundle: materiau
+label: Published
+description: ''
+required: false
+translatable: false
+default_value:
+  -
+    value: 1
+default_value_callback: ''
+settings:
+  on_label: 'On'
+  off_label: 'Off'
+field_type: boolean

+ 22 - 0
sites/default/config/sync/core.base_field_override.node.materiau.sticky.yml

@@ -0,0 +1,22 @@
+uuid: cd2a13a7-09f8-4946-ac0a-edbd002c610e
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.materiau
+id: node.materiau.sticky
+field_name: sticky
+entity_type: node
+bundle: materiau
+label: 'Sticky at top of lists'
+description: ''
+required: false
+translatable: false
+default_value:
+  -
+    value: 0
+default_value_callback: ''
+settings:
+  on_label: 'On'
+  off_label: 'Off'
+field_type: boolean

+ 18 - 0
sites/default/config/sync/core.base_field_override.node.materiau.title.yml

@@ -0,0 +1,18 @@
+uuid: 5bf91aba-5f6c-4add-b970-acd940184c4d
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.materiau
+id: node.materiau.title
+field_name: title
+entity_type: node
+bundle: materiau
+label: Title
+description: ''
+required: true
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 20 - 0
sites/default/config/sync/core.base_field_override.node.materiau.uid.yml

@@ -0,0 +1,20 @@
+uuid: 4a8cac0b-37c8-4c3a-b4db-dfdd48af590f
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.materiau
+id: node.materiau.uid
+field_name: uid
+entity_type: node
+bundle: materiau
+label: 'Authored by'
+description: 'The username of the content author.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: 'Drupal\node\Entity\Node::getCurrentUserId'
+settings:
+  handler: default
+  handler_settings: {  }
+field_type: entity_reference

+ 18 - 0
sites/default/config/sync/core.base_field_override.node.static.changed.yml

@@ -0,0 +1,18 @@
+uuid: 45803188-a7ce-4a78-b9a5-5a57bc22c05b
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.static
+id: node.static.changed
+field_name: changed
+entity_type: node
+bundle: static
+label: Changed
+description: 'The time that the node was last edited.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: changed

+ 18 - 0
sites/default/config/sync/core.base_field_override.node.static.created.yml

@@ -0,0 +1,18 @@
+uuid: d83066ec-c802-47c1-ab20-659a961fc54c
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.static
+id: node.static.created
+field_name: created
+entity_type: node
+bundle: static
+label: 'Authored on'
+description: 'The time that the node was created.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: created

+ 20 - 0
sites/default/config/sync/core.base_field_override.node.static.menu_link.yml

@@ -0,0 +1,20 @@
+uuid: 40d82f7a-a907-4725-897e-ffb9d3e26a1f
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.static
+id: node.static.menu_link
+field_name: menu_link
+entity_type: node
+bundle: static
+label: 'Menu link'
+description: 'Computed menu link for the node (only available during node saving).'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: default
+  handler_settings: {  }
+field_type: entity_reference

+ 20 - 0
sites/default/config/sync/core.base_field_override.node.static.path.yml

@@ -0,0 +1,20 @@
+uuid: adc8dab2-306a-4c9e-9e6a-84659e6478d0
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.static
+  module:
+    - path
+id: node.static.path
+field_name: path
+entity_type: node
+bundle: static
+label: 'URL alias'
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: path

+ 1 - 1
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.base_field_override.node.static.promote.yml → sites/default/config/sync/core.base_field_override.node.static.promote.yml

@@ -13,7 +13,7 @@ bundle: static
 label: 'Promoted to front page'
 description: ''
 required: false
-translatable: true
+translatable: false
 default_value:
   -
     value: 0

+ 22 - 0
sites/default/config/sync/core.base_field_override.node.static.status.yml

@@ -0,0 +1,22 @@
+uuid: 886cc1cf-0c3c-4ee4-987b-0f5eb7deb960
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.static
+id: node.static.status
+field_name: status
+entity_type: node
+bundle: static
+label: Published
+description: ''
+required: false
+translatable: false
+default_value:
+  -
+    value: 1
+default_value_callback: ''
+settings:
+  on_label: 'On'
+  off_label: 'Off'
+field_type: boolean

+ 22 - 0
sites/default/config/sync/core.base_field_override.node.static.sticky.yml

@@ -0,0 +1,22 @@
+uuid: 93b65ef7-355e-4973-b74e-5c0bbf0297d5
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.static
+id: node.static.sticky
+field_name: sticky
+entity_type: node
+bundle: static
+label: 'Sticky at top of lists'
+description: ''
+required: false
+translatable: false
+default_value:
+  -
+    value: 0
+default_value_callback: ''
+settings:
+  on_label: 'On'
+  off_label: 'Off'
+field_type: boolean

+ 18 - 0
sites/default/config/sync/core.base_field_override.node.static.title.yml

@@ -0,0 +1,18 @@
+uuid: 58b0c5e9-222f-4376-a351-73f06105fca2
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.static
+id: node.static.title
+field_name: title
+entity_type: node
+bundle: static
+label: Title
+description: ''
+required: true
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 20 - 0
sites/default/config/sync/core.base_field_override.node.static.uid.yml

@@ -0,0 +1,20 @@
+uuid: 43c109dd-fd5a-4fb3-b8ce-a108d0f0f7f4
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.static
+id: node.static.uid
+field_name: uid
+entity_type: node
+bundle: static
+label: 'Authored by'
+description: 'The username of the content author.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: 'Drupal\node\Entity\Node::getCurrentUserId'
+settings:
+  handler: default
+  handler_settings: {  }
+field_type: entity_reference

+ 18 - 0
sites/default/config/sync/core.base_field_override.taxonomy_term.showroom.synonyms.yml

@@ -0,0 +1,18 @@
+uuid: 637fb6b7-a2d9-4088-8993-01282a593ccc
+langcode: en
+status: true
+dependencies:
+  config:
+    - taxonomy.vocabulary.showroom
+id: taxonomy_term.showroom.synonyms
+field_name: synonyms
+entity_type: taxonomy_term
+bundle: showroom
+label: 'Entity synonyms'
+description: 'A list of known entity synonyms.'
+required: false
+translatable: true
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 18 - 0
sites/default/config/sync/core.base_field_override.taxonomy_term.tags.synonyms.yml

@@ -0,0 +1,18 @@
+uuid: b6b80eab-190d-43ee-879f-5e710ae63b9d
+langcode: en
+status: true
+dependencies:
+  config:
+    - taxonomy.vocabulary.tags
+id: taxonomy_term.tags.synonyms
+field_name: synonyms
+entity_type: taxonomy_term
+bundle: tags
+label: 'Entity synonyms'
+description: 'A list of known entity synonyms.'
+required: false
+translatable: true
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 18 - 0
sites/default/config/sync/core.base_field_override.taxonomy_term.thesaurus.synonyms.yml

@@ -0,0 +1,18 @@
+uuid: 13195f43-bff2-4cf0-9dbc-a3d6a2aef5ea
+langcode: en
+status: true
+dependencies:
+  config:
+    - taxonomy.vocabulary.thesaurus
+id: taxonomy_term.thesaurus.synonyms
+field_name: synonyms
+entity_type: taxonomy_term
+bundle: thesaurus
+label: 'Entity synonyms'
+description: 'A list of known entity synonyms.'
+required: false
+translatable: true
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 18 - 0
sites/default/config/sync/core.base_field_override.user.user.changed.yml

@@ -0,0 +1,18 @@
+uuid: 4850be56-1936-4809-82d7-e9e11dbcba4f
+langcode: en
+status: true
+dependencies:
+  module:
+    - user
+id: user.user.changed
+field_name: changed
+entity_type: user
+bundle: user
+label: Changed
+description: 'The time that the user was last edited.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: changed

+ 19 - 0
sites/default/config/sync/core.base_field_override.user.user.path.yml

@@ -0,0 +1,19 @@
+uuid: a1a097e0-ff19-4608-9534-dbe3932570d6
+langcode: en
+status: true
+dependencies:
+  module:
+    - path
+    - user
+id: user.user.path
+field_name: path
+entity_type: user
+bundle: user
+label: 'URL alias'
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: path

+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.date_format.fallback.yml → sites/default/config/sync/core.date_format.fallback.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.date_format.html_date.yml → sites/default/config/sync/core.date_format.html_date.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.date_format.html_datetime.yml → sites/default/config/sync/core.date_format.html_datetime.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.date_format.html_month.yml → sites/default/config/sync/core.date_format.html_month.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.date_format.html_time.yml → sites/default/config/sync/core.date_format.html_time.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.date_format.html_week.yml → sites/default/config/sync/core.date_format.html_week.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.date_format.html_year.yml → sites/default/config/sync/core.date_format.html_year.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.date_format.html_yearless_date.yml → sites/default/config/sync/core.date_format.html_yearless_date.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.date_format.long.yml → sites/default/config/sync/core.date_format.long.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.date_format.medium.yml → sites/default/config/sync/core.date_format.medium.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.date_format.short.yml → sites/default/config/sync/core.date_format.short.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.entity_form_display.node.materiau.default.yml → sites/default/config/sync/core.entity_form_display.node.materiau.default.yml


+ 66 - 0
sites/default/config/sync/core.entity_form_display.taxonomy_term.thesaurus.default.yml

@@ -0,0 +1,66 @@
+uuid: 2ed70749-fa36-4e74-bbf9-92718b3a4e78
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.field.taxonomy_term.thesaurus.field_synonyms
+    - field.field.taxonomy_term.thesaurus.field_used_on_advanced_search
+    - taxonomy.vocabulary.thesaurus
+  module:
+    - path
+    - text
+id: taxonomy_term.thesaurus.default
+targetEntityType: taxonomy_term
+bundle: thesaurus
+mode: default
+content:
+  description:
+    type: text_textarea
+    weight: 1
+    region: content
+    settings:
+      placeholder: ''
+      rows: 5
+    third_party_settings: {  }
+  field_synonyms:
+    weight: 2
+    settings:
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+    type: string_textfield
+    region: content
+  field_used_on_advanced_search:
+    weight: 6
+    settings:
+      display_label: true
+    third_party_settings: {  }
+    type: boolean_checkbox
+    region: content
+  langcode:
+    type: language_select
+    weight: 3
+    region: content
+    settings:
+      include_locked: true
+    third_party_settings: {  }
+  name:
+    type: string_textfield
+    weight: 0
+    region: content
+    settings:
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+  path:
+    type: path
+    weight: 5
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  translation:
+    weight: 4
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+hidden: {  }

+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.entity_form_mode.user.register.yml → sites/default/config/sync/core.entity_form_mode.user.register.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.entity_view_display.node.materiau.default.yml → sites/default/config/sync/core.entity_view_display.node.materiau.default.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.entity_view_display.node.materiau.teaser.yml → sites/default/config/sync/core.entity_view_display.node.materiau.teaser.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.entity_view_display.node.static.default.yml → sites/default/config/sync/core.entity_view_display.node.static.default.yml


+ 42 - 0
sites/default/config/sync/core.entity_view_display.taxonomy_term.thesaurus.default.yml

@@ -0,0 +1,42 @@
+uuid: b326a7dc-4ba1-4ef1-b0ed-a2a5277c55e4
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.field.taxonomy_term.thesaurus.field_synonyms
+    - field.field.taxonomy_term.thesaurus.field_used_on_advanced_search
+    - taxonomy.vocabulary.thesaurus
+  module:
+    - text
+id: taxonomy_term.thesaurus.default
+targetEntityType: taxonomy_term
+bundle: thesaurus
+mode: default
+content:
+  description:
+    label: hidden
+    type: text_default
+    weight: 0
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  field_synonyms:
+    weight: 1
+    label: above
+    settings:
+      link_to_entity: false
+    third_party_settings: {  }
+    type: string
+    region: content
+  field_used_on_advanced_search:
+    weight: 2
+    label: above
+    settings:
+      format: default
+      format_custom_false: ''
+      format_custom_true: ''
+    third_party_settings: {  }
+    type: boolean
+    region: content
+hidden:
+  langcode: true

+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.entity_view_mode.block.token.yml → sites/default/config/sync/core.entity_view_mode.block.token.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.entity_view_mode.contact_message.token.yml → sites/default/config/sync/core.entity_view_mode.contact_message.token.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.entity_view_mode.file.token.yml → sites/default/config/sync/core.entity_view_mode.file.token.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.entity_view_mode.menu_link_content.token.yml → sites/default/config/sync/core.entity_view_mode.menu_link_content.token.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.entity_view_mode.node.full.yml → sites/default/config/sync/core.entity_view_mode.node.full.yml


+ 0 - 0
sites/default/config_e1tzTdpKV19n5pl02gaDCSFSPlc8_D8TC19sco3PYhmW363I2oDgyoFzEZcaEDyT1B0uL7WBEg/sync/core.entity_view_mode.node.rss.yml → sites/default/config/sync/core.entity_view_mode.node.rss.yml


Some files were not shown because too many files changed in this diff