d6_comment_field.yml

Same filename in other branches
  1. 8.9.x core/modules/comment/migrations/d6_comment_field.yml
  2. 10 core/modules/comment/migrations/d6_comment_field.yml
  3. 11.x core/modules/comment/migrations/d6_comment_field.yml
core/modules/comment/migrations/d6_comment_field.yml

File

core/modules/comment/migrations/d6_comment_field.yml

View source
  1. id: d6_comment_field
  2. label: Comment field configuration
  3. migration_tags:
  4. - Drupal 6
  5. - Configuration
  6. source:
  7. plugin: comment_type
  8. constants:
  9. entity_type: node
  10. type: comment
  11. process:
  12. entity_type: 'constants/entity_type'
  13. field_name:
  14. -
  15. plugin: migration_lookup
  16. source: type
  17. migration: d6_comment_type
  18. -
  19. plugin: skip_on_empty
  20. method: row
  21. type: 'constants/type'
  22. 'settings/comment_type': '@field_name'
  23. destination:
  24. plugin: entity:field_storage_config
  25. migration_dependencies:
  26. required:
  27. - d6_comment_type

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.