label: Field configuration
migration_tags:
- Drupal 7
-class: Drupal\migrate_drupal\Plugin\migrate\CckMigration
-cck_plugin_method: processField
+class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
+field_plugin_method: processField
source:
plugin: d7_field
constants:
langcode: 'constants/langcode'
field_name: field_name
type:
- plugin: field_type
+ plugin: process_field
source: type
- map:
- date: datetime
- datestamp: datetime
- datetime: datetime
- email: email
- entityreference: entity_reference
- file: file
- image: image
- link_field: link
- list_boolean: boolean
- list_integer: list_integer
- list_text: list_string
- number_integer: integer
- number_decimal: decimal
- number_float: float
- phone: telephone
- text_long: text_long
- text_with_summary: text_with_summary
+ method: getFieldType
# Translatable is not migrated and the Drupal 8 default of true is used.
# If translatable is false in field storage then the field can not be
# set to translatable via the UI.