12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- uuid: f6043e5b-f2e8-4b85-92a8-4d96c17042e7
- langcode: fr
- status: true
- dependencies: { }
- id: upgrade_default_language
- class: Drupal\migrate\Plugin\Migration
- field_plugin_method: null
- cck_plugin_method: null
- migration_tags:
- - 'Drupal 6'
- - 'Drupal 7'
- migration_group: migrate_drupal_6
- label: 'Default language'
- source:
- plugin: variable
- variables:
- - language_default
- source_module: locale
- process:
- default_langcode:
- -
- plugin: default_value
- source: language_default
- default_value:
- language: en
- -
- plugin: callback
- callable:
- - \Drupal\Component\Serialization\Json
- - encode
- -
- plugin: callback
- callable:
- - \Drupal\Component\Serialization\Json
- - decode
- -
- plugin: extract
- index:
- - language
- destination:
- plugin: default_langcode
- config_name: system.site
- migration_dependencies:
- required:
- - upgrade_language
- optional: { }
|