d7_to_d10_migration/drupal10/ref_migrations/migrate_plus.migration.upgrade_d7_custom_block.yml
Mauricio Dinarte f4bd2062fa Add generated migrations
Migrations created with the migrate_upgrade module using the command

```
drush --yes migrate:upgrade
  --legacy-db-key='migrate'
  --legacy-root='http://ddev-migration-drupal7-web'
  --configure-only
```
2024-07-22 21:38:36 -06:00

43 lines
855 B
YAML

uuid: 5497bb02-26a3-4766-b6ef-8614aff7f34e
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: 'Content 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