3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

Migrate the plant_type.crop_family field.

This commit is contained in:
paul121 2020-12-23 16:38:17 -08:00 committed by Michael Stenta
parent 9e662275a8
commit 8b8097edc4

View file

@ -42,6 +42,15 @@ process:
default_value: 0
source: '@parent_id'
# Plant type specific fields.
crop_family:
plugin: sub_process
source: field_farm_crop_family
process:
target_id:
plugin: migration_lookup
migration: farm_migrate_taxonomy_crop_family
source: tid
no_stub: true
transplant_days:
plugin: get
source: field_farm_transplant_days
@ -49,5 +58,6 @@ process:
plugin: get
source: field_farm_maturity_days
migration_dependencies:
required: { }
required:
- farm_migrate_taxonomy_crop_family
optional: { }