This file contains hidden or 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
exploded_value: | |
plugin: explode | |
delimiter: '-' | |
source: array_content | |
field_acme_multivalue: | |
plugin: iterator | |
source: '@exploded_value' | |
process: | |
value: | |
plugin: get |
This file contains hidden or 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
migrate_plus$ git pull | |
Already up-to-date. | |
migrate_plus$ git status | |
On branch 8.x-2.x | |
Your branch is up-to-date with 'origin/8.x-2.x'. | |
nothing to commit, working directory clean | |
migrate_plus$ git apply -v ~/tmp/properly_integrate-2752335-18.patch | |
Checking patch migrate_plus.info.yml... | |
Checking patch migrate_plus.module... | |
Checking patch migrations/migration_config_deriver.yml... |
This file contains hidden or 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_geofield: | |
plugin: geofield_latlon | |
source: | |
- field_cap_geofield/lat | |
- field_cap_geofield/lon |
This file contains hidden or 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_address/country_code': | |
plugin: default_value | |
default_value: US | |
'field_address/langcode': | |
plugin: default_value | |
default_value: en | |
'field_address/address_line1': AddressLineOne |
This file contains hidden or 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
nid: | |
- | |
plugin: migration | |
migration: | |
- | |
upgrade_d6_node_article | |
upgrade_d6_node_blog | |
source: nid |
This file contains hidden or 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
temp_paragraph_id: | |
plugin: migration | |
source: paragraph_test_1_id | |
migration: import_paragraph_test_1 | |
no_stub: true | |
field_paragraph_test_1/target_id: | |
plugin: extract | |
source: '@temp_paragraph_id' | |
index: | |
- 0 |
This file contains hidden or 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: | |
my_multivalue_field: | |
plugin: get | |
source: | |
- a | |
- b | |
- c |
This file contains hidden or 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: | |
constants: | |
source_null: null | |
process: | |
'body/value': body | |
'body/format': | |
- | |
plugin: skip_on_empty | |
source: body | |
method: process |
This file contains hidden or 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
<?php | |
namespace Drupal\foo_migrate\Form; | |
use Drupal\Core\Form\FormBase; | |
use Drupal\Core\Form\FormStateInterface; | |
use Drupal\migrate_plus\Entity\MigrationGroup; | |
/** | |
* Interactive configuration of the Foo migration process. |
This file contains hidden or 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_person_photo: | |
plugin: iterator | |
source: field_author_image | |
process: | |
target_id: | |
plugin: migration | |
migration: file | |
source: fid | |
alt: alt | |
title: title |