You are here

d6_library_field.yml in Library 8

migration_templates/d6_library_field.yml

File

migration_templates/d6_library_field.yml
View source
  1. id: d6_library_field
  2. label: Library field for content types
  3. migration_tags:
  4. - Drupal 6
  5. source:
  6. plugin: d6_library_content_types
  7. constants:
  8. entity_type: node
  9. type: entity_reference
  10. settings:
  11. target_type: library_item
  12. field_name: library_item
  13. label: 'Library item'
  14. cardinality: -1
  15. process:
  16. entity_type: constants/entity_type
  17. bundle: name
  18. field_name: constants/field_name
  19. cardinality: constants/cardinality
  20. settings: constants/settings
  21. settings/handler: target_type
  22. type: constants/type
  23. label: constants/label
  24. destination:
  25. plugin: entity:field_storage_config
  26. migration_dependencies:
  27. required:
  28. - d6_node_type