uuid: 01b206d9-ce4c-40ff-a946-f4e8b00dd3d6
langcode: en
status: true
dependencies: { }
id: upgrade_d7_node_crime_report
class: Drupal\migrate\Plugin\Migration
field_plugin_method: null
cck_plugin_method: null
migration_tags:
- 'Drupal 7'
migration_group: migrate_drupal_7
label: 'Nodes (Crime Report)'
source:
plugin: d7_node
node_type: crime_report
process:
nid: tnid
vid: vid
langcode:
plugin: default_value
source: language
default_value: und
title: title
uid: node_uid
status: status
created: created
changed: changed
promote: promote
sticky: sticky
revision_uid: revision_uid
revision_log: log
revision_timestamp: timestamp
comment_node_crime_report/0/status: comment
field_date_reported:
plugin: iterator
source: field_date_reported
process:
value:
plugin: format_date
from_format: 'Y-m-d H:i:s'
to_format: 'Y-m-d\TH:i:s'
source: value
field_date_occurred:
plugin: iterator
source: field_date_occurred
process:
value:
plugin: format_date
from_format: 'Y-m-d H:i:s'
to_format: 'Y-m-d\TH:i:s'
source: value
field_crime_location:
plugin: get
source: field_location
destination: field_crime_location
field_description:
plugin: get
source: field_description
field_disposition:
plugin: get
source: field_disposition
field_crime:
plugin: get
source: field_crime
destination:
plugin: 'entity:node'
default_bundle: crime_report
migration_dependencies:
optional:
- upgrade_d7_field_instance
Comments