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
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
<?php | |
namespace Drupal\foo_migrate\Form; | |
use Drupal\Core\Form\FormBase; | |
use Drupal\Core\Form\FormStateInterface; | |
use Drupal\migrate_plus\Entity\Migration; | |
/** | |
* Interactive configuration of the blah 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
process: | |
nid: | |
plugin: migration | |
migration: english_node_migration | |
source: uuid | |
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_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': |
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_tags: | |
plugin: iterator | |
source: field_tags | |
process: | |
target_id: | |
plugin: migration | |
migration: upgrade_d7_taxonomy_term | |
source: tid |
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_tags: | |
plugin: iterator | |
source: field_tags | |
process: | |
target_id: tid | |
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\migrate_mine\Plugin\migrate\process; | |
use Drupal\file\Plugin\migrate\process\d6\CckFile; | |
use Drupal\migrate\Plugin\MigrationInterface; | |
use Symfony\Component\DependencyInjection\ContainerInterface; | |
/** | |
* @MigrateProcessPlugin( |
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_whatever: | |
- | |
plugin: get | |
source: | |
- A | |
- B | |
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
id: dmeblog_revision | |
label: Node revisions | |
migration_tags: | |
- Drupal 7 | |
source: | |
plugin: d7_node_revision | |
node_type: page | |
process: | |
nid: nid | |
vid: vid |