You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
1.8 KiB

4 years ago
  1. uuid: db77298a-02e4-4f2a-80aa-6e147e17c8da
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. id: upgrade_d7_theme_settings
  6. class: Drupal\migrate\Plugin\Migration
  7. field_plugin_method: null
  8. cck_plugin_method: null
  9. migration_tags:
  10. - 'Drupal 7'
  11. - Configuration
  12. migration_group: migrate_drupal_7
  13. label: 'D7 theme settings'
  14. source:
  15. plugin: d7_theme_settings
  16. constants:
  17. config_suffix: .settings
  18. process:
  19. theme_name:
  20. -
  21. plugin: explode
  22. source: name
  23. delimiter: _
  24. -
  25. plugin: extract
  26. index:
  27. - 1
  28. configuration_name:
  29. -
  30. plugin: concat
  31. source:
  32. - '@theme_name'
  33. - constants/config_suffix
  34. toggle_logo:
  35. -
  36. plugin: get
  37. source: theme_settings/toggle_logo
  38. toggle_name:
  39. -
  40. plugin: get
  41. source: value/toggle_name
  42. toggle_slogan:
  43. -
  44. plugin: get
  45. source: value/toggle_slogan
  46. toggle_node_user_picture:
  47. -
  48. plugin: get
  49. source: value/toggle_node_user_picture
  50. toggle_comment_user_picture:
  51. -
  52. plugin: get
  53. source: value/toggle_comment_user_picture
  54. toggle_comment_user_verification:
  55. -
  56. plugin: get
  57. source: value/toggle_comment_user_verification
  58. toggle_favicon:
  59. -
  60. plugin: get
  61. source: value/toggle_favicon
  62. default_logo:
  63. -
  64. plugin: get
  65. source: value/default_logo
  66. logo_path:
  67. -
  68. plugin: get
  69. source: value/logo_path
  70. logo_upload:
  71. -
  72. plugin: get
  73. source: value/logo_upload
  74. default_favicon:
  75. -
  76. plugin: get
  77. source: value/default_favicon
  78. favicon_path:
  79. -
  80. plugin: get
  81. source: value/favicon_path
  82. favicon_mimetype:
  83. -
  84. plugin: get
  85. source: value/favicon_mimetype
  86. destination:
  87. plugin: d7_theme_settings
  88. migration_dependencies:
  89. required: { }
  90. optional: { }