
| Current Path : /var/www/html1/bbp/web/modules/contrib/migrate_plus/migrate_example/migrations/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html1/bbp/web/modules/contrib/migrate_plus/migrate_example/migrations/beer_comment.yml |
# Migration configuration for beer comments. No new concepts here.
id: beer_comment
label: Comments on beers
migration_group: beer
source:
plugin: beer_comment
destination:
plugin: entity:comment
process:
pid:
plugin: migration_lookup
migration: beer_comment
source: cid_parent
entity_id:
plugin: migration_lookup
migration: beer_node
source: bid
entity_type:
plugin: default_value
default_value: node
field_name:
plugin: default_value
default_value: field_comments
comment_type:
plugin: default_value
default_value: node_comments
subject: subject
uid:
plugin: migration_lookup
migration: beer_user
source: aid
name: name
mail: mail
status:
plugin: default_value
default_value: 1
'comment_body/value': body
migration_dependencies:
required:
- beer_node
- beer_user
dependencies:
enforced:
module:
- migrate_example