34 lines
633 B
YAML
34 lines
633 B
YAML
langcode: en
|
|
status: true
|
|
dependencies:
|
|
enforced:
|
|
module:
|
|
- farm_group
|
|
- farm_migrate
|
|
id: farm_migrate_asset_group
|
|
label: 'Assets (Groups)'
|
|
migration_group: farm_migrate_asset
|
|
migration_tags:
|
|
- 'Drupal 7'
|
|
- 'farmOS 1.x'
|
|
class: Drupal\migrate\Plugin\Migration
|
|
field_plugin_method: null
|
|
cck_plugin_method: null
|
|
source:
|
|
plugin: d7_farm_asset
|
|
bundle: group
|
|
destination:
|
|
plugin: 'entity:asset'
|
|
process:
|
|
# Hard-code the bundle.
|
|
type:
|
|
plugin: default_value
|
|
default_value: group
|
|
# Maintain the asset ID.
|
|
id:
|
|
plugin: get
|
|
source: id
|
|
migration_dependencies:
|
|
required: { }
|
|
optional: { }
|