This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
field_ud_address/given_name: first_name | |
field_ud_address/family_name: last_name | |
field_ud_address/organization: company | |
field_ud_address/address_line1: | |
plugin: default_value | |
default_value: 'It is a secret ;)' | |
field_ud_address/address_line2: | |
plugin: default_value | |
default_value: 'Do not tell anyone :)' | |
field_ud_address/locality: city |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
created: | |
plugin: format_date | |
source: node_creation_date | |
from_format: 'F j, Y H:i:s' | |
to_format: 'U' | |
from_timezone: 'UTC' | |
to_timezone: 'UTC' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
created: | |
plugin: format_date | |
source: member_since | |
from_format: 'F j, Y' | |
to_format: 'U' | |
changed: '@created' | |
access: '@created' | |
login: '@created' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
destination: | |
plugin: 'entity:user' | |
md5_passwords: true | |
migration_dependencies: | |
required: | |
- udm_user_pictures | |
optional: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
process: | |
field_photos/0/target_id: source_fid_first | |
field_photos/0/alt: source_alt_first | |
field_photos/1/target_id: source_fid_second | |
field_photos/1/alt: source_alt_second | |
field_photos/2/target_id: source_fid_third | |
field_photos/2/alt: source_alt_third |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
destination: | |
plugin: 'entity:node' | |
default_bundle: article |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
destination: | |
plugin: 'entity:file' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1) Run the migration. | |
$ drush migrate:import udm_process_intro | |
# 2) Some non recoverable error occurs. Check the status of the migration. | |
$ drush migrate:status udm_process_intro | |
# 3) Stop the migration. | |
$ drush migrate:stop udm_process_intro | |
# 4) Reset the status to idle. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source: | |
defaults: | |
MY_VALUE: 'http://understanddrupal.com' | |
plugin: source_plugin_name | |
source_plugin_config: source_config_value | |
process: | |
process_destination: defaults/MY_VALUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
process: | |
body/value: profile | |
body/format: | |
plugin: default_value | |
default_value: restricted_html |