d6_block_translation.yml

Same filename and directory in other branches
  1. 8.9.x core/modules/content_translation/migrations/d6_block_translation.yml
  2. 11.x core/modules/config_translation/migrations/d6_block_translation.yml
  3. 10 core/modules/config_translation/migrations/d6_block_translation.yml
  4. 9 core/modules/config_translation/migrations/d6_block_translation.yml
core/modules/config_translation/migrations/d6_block_translation.yml

File

core/modules/config_translation/migrations/d6_block_translation.yml

View source
  1. id: d6_block_translation
  2. label: Block translations
  3. migration_tags:
  4. - Drupal 6
  5. - Configuration
  6. - Multilingual
  7. source:
  8. plugin: d6_block_translation
  9. constants:
  10. dest_label: 'settings/label'
  11. process:
  12. langcode: language
  13. property: constants/dest_label
  14. translation: title
  15. id:
  16. -
  17. plugin: migration_lookup
  18. migration: d6_block
  19. source:
  20. - module
  21. - delta
  22. -
  23. plugin: skip_on_empty
  24. method: row
  25. plugin:
  26. -
  27. plugin: static_map
  28. bypass: true
  29. source:
  30. - module
  31. - delta
  32. map:
  33. book:
  34. 0: book_navigation
  35. comment:
  36. 0: views_block:comments_recent-block_1
  37. forum:
  38. 0: forum_active_block
  39. 1: forum_new_block
  40. locale:
  41. 0: language_block
  42. search:
  43. 0: search_form_block
  44. statistics:
  45. 0: statistics_popular_block
  46. system:
  47. 0: system_powered_by_block
  48. user:
  49. 0: user_login_block
  50. 1: system_menu_block:tools
  51. 2: views_block:who_s_new-block_1
  52. 3: views_block:who_s_online-who_s_online_block
  53. -
  54. plugin: block_plugin_id
  55. -
  56. plugin: skip_on_empty
  57. method: row
  58. theme:
  59. plugin: block_theme
  60. source:
  61. - theme
  62. - default_theme
  63. - admin_theme
  64. destination:
  65. plugin: entity:block
  66. translations: true
  67. migration_dependencies:
  68. required:
  69. - d6_block
  70. - language

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.