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.
44 lines
854 B
44 lines
854 B
2 years ago
|
uuid: 30ab0b78-3d8e-4673-8c2b-2e776cfee466
|
||
|
langcode: en
|
||
|
status: true
|
||
|
dependencies: { }
|
||
|
id: upgrade_d7_custom_block
|
||
|
class: Drupal\migrate\Plugin\Migration
|
||
|
field_plugin_method: null
|
||
|
cck_plugin_method: null
|
||
|
migration_tags:
|
||
|
- 'Drupal 7'
|
||
|
- Content
|
||
|
migration_group: migrate_drupal_7
|
||
|
label: 'Custom blocks'
|
||
|
source:
|
||
|
plugin: d7_block_custom
|
||
|
process:
|
||
|
id:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: bid
|
||
|
info:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: info
|
||
|
body/format:
|
||
|
-
|
||
|
plugin: migration_lookup
|
||
|
migration: upgrade_d7_filter_format
|
||
|
source: format
|
||
|
body/value:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: body
|
||
|
destination:
|
||
|
plugin: 'entity:block_content'
|
||
|
default_bundle: basic
|
||
|
no_stub: true
|
||
|
migration_dependencies:
|
||
|
required:
|
||
|
- upgrade_d7_filter_format
|
||
|
- upgrade_block_content_body_field
|
||
|
optional:
|
||
|
- upgrade_d7_filter_format
|