d6_block_translation.yml

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

File

core/modules/content_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. node:
  43. 0: node_syndicate_block
  44. search:
  45. 0: search_form_block
  46. statistics:
  47. 0: statistics_popular_block
  48. system:
  49. 0: system_powered_by_block
  50. user:
  51. 0: user_login_block
  52. 1: system_menu_block:tools
  53. 2: views_block:who_s_new-block_1
  54. 3: views_block:who_s_online-who_s_online_block
  55. -
  56. plugin: block_plugin_id
  57. -
  58. plugin: skip_on_empty
  59. method: row
  60. theme:
  61. plugin: block_theme
  62. source:
  63. - theme
  64. - default_theme
  65. - admin_theme
  66. destination:
  67. plugin: entity:block
  68. migration_dependencies:
  69. required:
  70. - d6_block

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