You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
1.8 KiB

uuid: 98aa9e43-1501-4c42-875e-5f09206faf2b
langcode: en
status: true
dependencies: { }
id: upgrade_d7_field
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
field_plugin_method: alterFieldMigration
cck_plugin_method: null
migration_tags:
- 'Drupal 7'
- Configuration
migration_group: migrate_drupal_7
label: 'Field configuration'
source:
plugin: d7_field
constants:
status: true
langcode: und
process:
entity_type:
-
plugin: get
source: entity_type
-
plugin: static_map
map:
field_collection_item: paragraph
paragraphs_item: paragraph
bypass: true
status:
-
plugin: get
source: constants/status
langcode:
-
plugin: get
source: constants/langcode
field_name:
-
plugin: get
source: field_name
type:
-
plugin: process_field
source: type
method: getFieldType
map:
d7_text:
d7_text: d7_text
taxonomy_term_reference:
taxonomy_term_reference: taxonomy_term_reference
file:
file: file
image:
image: image
link_field:
link_field: link_field
list:
list: list
email:
email: email
number_default:
number_default: number_default
entityreference:
entityreference: entityreference
datetime:
datetime: datetime
cardinality:
-
plugin: get
source: cardinality
settings:
0:
plugin: d7_field_settings
field_collection:
plugin: field_collection_field_settings
paragraphs:
plugin: paragraphs_field_settings
destination:
plugin: 'entity:field_storage_config'
migration_dependencies:
required: { }
optional:
- upgrade_d7_field_collection_type
- upgrade_d7_paragraphs_type