d7_to_d10_migration/drupal10/ref_migrations/migrate_plus.migration.upgrade_d7_field_collection_favorite_quote.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

50 lines
1.1 KiB
YAML

uuid: 471b5729-b3c8-4750-9e09-076c769c85d0
langcode: en
status: true
dependencies: { }
id: upgrade_d7_field_collection_favorite_quote
class: Drupal\migrate\Plugin\Migration
field_plugin_method: null
cck_plugin_method: null
migration_tags:
- 'Drupal 7'
- Content
- 'Field Collection Content'
migration_group: migrate_drupal_7
label: 'Field Collections (Favorite quote)'
source:
plugin: d7_field_collection_item
field_name: field_favorite_quote
process:
type:
-
plugin: get
source: bundle
parent_id:
-
plugin: get
source: parent_id
parent_type:
-
plugin: get
source: parent_type
parent_field_name:
-
plugin: get
source: field_name
field_quote_name:
-
plugin: get
source: field_quote_name
field_quote_message:
-
plugin: get
source: field_quote_message
destination:
plugin: 'entity_reference_revisions:paragraph'
default_bundle: favorite_quote
migration_dependencies:
required:
- upgrade_d7_field_collection_type
optional:
- upgrade_d7_field_instance