You are here

d7_comment_field_instance.yml in Zircon Profile 8.0

core/modules/comment/migration_templates/d7_comment_field_instance.yml

File

core/modules/comment/migration_templates/d7_comment_field_instance.yml
View source
  1. id: d7_comment_field_instance
  2. label: Comment field instance configuration
  3. migration_tags:
  4. - Drupal 7
  5. source:
  6. plugin: d7_comment_type
  7. constants:
  8. entity_type: node
  9. label: Comments
  10. required: true
  11. process:
  12. entity_type: 'constants/entity_type'
  13. label: 'constants/label'
  14. required: 'constants/required'
  15. field_name: bundle
  16. bundle: node_type
  17. 'default_value/0/status': 'constants/required'
  18. 'settings/default_mode': default_mode
  19. 'settings/per_page': per_page
  20. 'settings/anonymous': anonymous
  21. 'settings/form_location': form_location
  22. 'settings/preview': preview
  23. destination:
  24. plugin: entity:field_config
  25. migration_dependencies:
  26. required:
  27. - d7_comment_field