Mercurial > hg > isophonics-drupal-site
diff core/modules/comment/migrations/d6_comment_field.yml @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/modules/comment/migrations/d6_comment_field.yml Mon Apr 23 09:46:53 2018 +0100 @@ -0,0 +1,27 @@ +id: d6_comment_field +label: Comment field configuration +migration_tags: + - Drupal 6 + - Configuration +source: + plugin: d6_node_type + constants: + entity_type: node + type: comment +process: + entity_type: 'constants/entity_type' + field_name: + - + plugin: migration_lookup + source: type + migration: d6_comment_type + - + plugin: skip_on_empty + method: row + type: 'constants/type' + 'settings/comment_type': '@field_name' +destination: + plugin: entity:field_storage_config +migration_dependencies: + required: + - d6_comment_type