d6_library_field.yml in Library 8
migration_templates/d6_library_field.yml
File
migration_templates/d6_library_field.ymlView source
- id: d6_library_field
- label: Library field 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'
- cardinality: -1
- process:
- entity_type: constants/entity_type
- bundle: name
- field_name: constants/field_name
- cardinality: constants/cardinality
- settings: constants/settings
- settings/handler: target_type
- type: constants/type
- label: constants/label
- destination:
- plugin: entity:field_storage_config
- migration_dependencies:
- required:
- - d6_node_type