Version 1
[yaffs-website] / web / core / modules / system / migration_templates / d7_theme_settings.yml
1 id: d7_theme_settings
2 label: D7 theme settings
3 migration_tags:
4   - Drupal 7
5 source:
6   plugin: d7_theme_settings
7   constants:
8     config_suffix: '.settings'
9 process:
10   # Build the configuration name from the variable name, i.e.
11   # theme_bartik_settings becomes bartik.settings.
12   theme_name:
13     -
14       plugin: explode
15       source: name
16       delimiter: _
17     -
18       plugin: extract
19       index:
20         - 1
21   configuration_name:
22     plugin: concat
23     source:
24       - '@theme_name'
25       - constants/config_suffix
26   toggle_logo: theme_settings/toggle_logo
27   toggle_name: value/toggle_name
28   toggle_slogan: value/toggle_slogan
29   toggle_node_user_picture: value/toggle_node_user_picture
30   toggle_comment_user_picture: value/toggle_comment_user_picture
31   toggle_comment_user_verification: value/toggle_comment_user_verification
32   toggle_favicon: value/toggle_favicon
33   default_logo: value/default_logo
34   logo_path: value/logo_path
35   logo_upload: value/logo_upload
36   default_favicon: value/default_favicon
37   favicon_path: value/favicon_path
38   favicon_mimetype: value/favicon_mimetype
39 # Ignore settings not present in Drupal 8.
40 #  value/favicon_upload
41 #  value/toggle_main_menu
42 #  value/toggle_secondary_menu
43 destination:
44   plugin: d7_theme_settings