
| Current Path : /var/www/html/rocksensor2/web/core/modules/system/migrations/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/rocksensor2/web/core/modules/system/migrations/system_site.yml |
id: system_site
label: Site configuration
migration_tags:
- Drupal 6
- Drupal 7
- 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
source_module: system
process:
name: site_name
mail: site_mail
slogan: site_slogan
'page/front':
-
plugin: concat
source:
- constants/slash
- site_frontpage
-
plugin: static_map
map:
# Drupal 6 and Drupal 7 default site_frontpage is 'node'. If this
# variable is set to 'node', to an empty string, or it is completely
# missing, we want to migrate the equivalent Drupal 9 value, which is
# '/node'.
'/': '/node'
bypass: true
'page/403':
-
plugin: concat
source:
- constants/slash
- site_403
-
plugin: static_map
map:
'/': ''
bypass: true
'page/404':
-
plugin: concat
source:
- constants/slash
- site_404
-
plugin: static_map
map:
'/': ''
bypass: true
weight_select_max:
plugin: default_value
source: drupal_weight_select_max
strict: true
default_value: 100
admin_compact_mode: admin_compact_mode
destination:
plugin: config
config_name: system.site