36 lines
717 B
YAML
36 lines
717 B
YAML
langcode: en
|
|
status: true
|
|
dependencies:
|
|
enforced:
|
|
module:
|
|
- farm_migrate
|
|
- farm_structure
|
|
- farm_structure_types
|
|
id: farm_migrate_area_structure
|
|
label: 'Structure 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:
|
|
- building
|
|
- greenhouse
|
|
destination:
|
|
plugin: 'entity:asset'
|
|
process:
|
|
# Hard-code the bundle.
|
|
type:
|
|
plugin: default_value
|
|
default_value: structure
|
|
structure_type:
|
|
plugin: get
|
|
source: field_farm_area_type
|
|
migration_dependencies:
|
|
required: { }
|
|
optional: { }
|