d7_comment_field.yml
Same filename in other branches
File
-
core/
modules/ comment/ migrations/ d7_comment_field.yml
View source
- id: d7_comment_field
- label: Comment field configuration
- migration_tags:
- - Drupal 7
- - Configuration
- source:
- plugin: d7_node_type
- constants:
- entity_type: node
- type: comment
- process:
- entity_type: 'constants/entity_type'
- field_name:
- -
- plugin: migration_lookup
- source: type
- migration: d7_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:
- - d7_comment_type
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.