40 lines
733 B
YAML
40 lines
733 B
YAML
langcode: en
|
|
status: true
|
|
dependencies:
|
|
enforced:
|
|
module:
|
|
- farm_migrate
|
|
- farm_land
|
|
- farm_land_types
|
|
id: farm_migrate_area_land
|
|
label: 'Land assets (from areas)'
|
|
migration_group: farm_migrate_area
|
|
migration_tags:
|
|
- 'Drupal 7'
|
|
- 'farmOS 1.x'
|
|
class: Drupal\migrate\Plugin\Migration
|
|
field_plugin_method: null
|
|
cck_plugin_method: null
|
|
source:
|
|
plugin: d7_farm_area
|
|
area_type:
|
|
- property
|
|
- field
|
|
- bed
|
|
- paddock
|
|
- landmark
|
|
- other
|
|
destination:
|
|
plugin: 'entity:asset'
|
|
process:
|
|
# Hard-code the bundle.
|
|
type:
|
|
plugin: default_value
|
|
default_value: land
|
|
land_type:
|
|
plugin: get
|
|
source: field_farm_area_type
|
|
migration_dependencies:
|
|
required: { }
|
|
optional: { }
|