1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- id: d7_custom_block_translation
- label: Custom block translations
- migration_tags:
- - Drupal 7
- - Content
- - Multilingual
- source:
- plugin: d7_block_custom_translation
- process:
- id:
- plugin: migration_lookup
- migration: d7_custom_block
- source:
- - bid
- langcode: language
- info:
- -
- plugin: callback
- source:
- - title_translated
- - title
- callable: array_filter
- -
- plugin: callback
- callable: current
- 'body/value':
- -
- plugin: callback
- source:
- - body_translated
- - body
- callable: array_filter
- -
- plugin: callback
- callable: current
- 'body/format':
- plugin: migration_lookup
- migration: d7_filter_format
- source: format
- destination:
- plugin: entity:block_content
- no_stub: true
- translations: true
- destination_module: content_translation
- migration_dependencies:
- required:
- - d7_filter_format
- - block_content_body_field
- - d7_custom_block
- - language
|