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