You are here

d6_library_field_instance.yml in Library 8

migration_templates/d6_library_field_instance.yml

File

migration_templates/d6_library_field_instance.yml
View source
  1. id: d6_library_field_instance
  2. label: Library field instance 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. process:
  15. entity_type: constants/entity_type
  16. bundle: name
  17. field_name: constants/field_name
  18. settings: constants/settings
  19. settings/handler: target_type
  20. type: constants/type
  21. label: constants/label
  22. destination:
  23. plugin: entity:field_config
  24. migration_dependencies:
  25. required:
  26. - d6_library_field