X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fcontent_translation%2Fmigrations%2Fd6_block_translation.yml;fp=web%2Fcore%2Fmodules%2Fcontent_translation%2Fmigrations%2Fd6_block_translation.yml;h=a27fcfd9e5154e52bd3a2a071bfcd3ca25d7a56f;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=0000000000000000000000000000000000000000;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/web/core/modules/content_translation/migrations/d6_block_translation.yml b/web/core/modules/content_translation/migrations/d6_block_translation.yml new file mode 100644 index 000000000..a27fcfd9e --- /dev/null +++ b/web/core/modules/content_translation/migrations/d6_block_translation.yml @@ -0,0 +1,70 @@ +id: d6_block_translation +label: Block translations +migration_tags: + - Drupal 6 + - Configuration + - Multilingual +source: + plugin: d6_block_translation + constants: + dest_label: 'settings/label' +process: + langcode: language + property: constants/dest_label + translation: title + id: + - + plugin: migration_lookup + migration: d6_block + source: + - module + - delta + - + plugin: skip_on_empty + method: row + plugin: + - + plugin: static_map + bypass: true + source: + - module + - delta + map: + book: + 0: book_navigation + comment: + 0: views_block:comments_recent-block_1 + forum: + 0: forum_active_block + 1: forum_new_block + locale: + 0: language_block + node: + 0: node_syndicate_block + search: + 0: search_form_block + statistics: + 0: statistics_popular_block + system: + 0: system_powered_by_block + user: + 0: user_login_block + 1: system_menu_block:tools + 2: views_block:who_s_new-block_1 + 3: views_block:who_s_online-who_s_online_block + - + plugin: block_plugin_id + - + plugin: skip_on_empty + method: row + theme: + plugin: block_theme + source: + - theme + - default_theme + - admin_theme +destination: + plugin: entity:block +migration_dependencies: + required: + - d6_block