d6_library_field_instance.yml in Library 8
migration_templates/d6_library_field_instance.yml
File
migration_templates/d6_library_field_instance.ymlView source
- id: d6_library_field_instance
- label: Library field instance for content types
- migration_tags:
- - Drupal 6
- source:
- plugin: d6_library_content_types
- constants:
- entity_type: node
- type: entity_reference
- settings:
- target_type: library_item
- field_name: library_item
- label: 'Library item'
- process:
- entity_type: constants/entity_type
- bundle: name
- field_name: constants/field_name
- settings: constants/settings
- settings/handler: target_type
- type: constants/type
- label: constants/label
- destination:
- plugin: entity:field_config
- migration_dependencies:
- required:
- - d6_library_field