Skip to content

Instantly share code, notes, and snippets.

@mikeryan776
Created June 22, 2016 14:06
Show Gist options
  • Save mikeryan776/33a8c815cc9f65fbe9a582079a20887b to your computer and use it in GitHub Desktop.
Save mikeryan776/33a8c815cc9f65fbe9a582079a20887b to your computer and use it in GitHub Desktop.
'field_address/country_code':
plugin: default_value
default_value: US
'field_address/langcode':
plugin: default_value
default_value: en
'field_address/address_line1': streetAddress
'field_address/locality': city
# This has the form US-IN.
'field_address/administrative_area':
plugin: concat
delimiter: -
source:
- '@field_address/country_code'
- state
'field_address/postal_code': zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment