d6_upload_field_instance.yml in Drupal 10
Same filename and directory in other branches
core/modules/file/migrations/d6_upload_field_instance.yml
File
core/modules/file/migrations/d6_upload_field_instance.ymlView source
- id: d6_upload_field_instance
- label: Upload field instance configuration
- migration_tags:
- - Drupal 6
- - Configuration
- source:
- plugin: d6_upload_instance
- constants:
- entity_type: node
- name: upload
- settings:
- description_field: 1
- process:
- entity_type: 'constants/entity_type'
- bundle:
- -
- plugin: migration_lookup
- migration: d6_node_type
- source: node_type
- -
- plugin: skip_on_empty
- method: row
- field_name: 'constants/name'
- settings: 'constants/settings'
- 'settings/file_extensions': file_extensions
- 'settings/max_filesize': max_filesize
- destination:
- plugin: entity:field_config
- migration_dependencies:
- required:
- - d6_upload_field
- - d6_node_type