Mercurial > hg > cmmr2012-drupal-site
comparison modules/contrib/migrate_plus/migrate_json_example/README.md @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | |
children | 12f9dff5fda9 |
comparison
equal
deleted
inserted
replaced
3:307d7a7fd348 | 4:a9cd425dd02b |
---|---|
1 A demonstration of a simple import of a JSON file. | |
2 | |
3 REQUIREMENTS | |
4 ============ | |
5 You need the contrib modules Migrate Plus and Migrate Tools. | |
6 To make the products.json file available for import, the file will be copied | |
7 from the artifacts folder to your sites/default/files folder. | |
8 | |
9 USAGE | |
10 ===== | |
11 Enable the module, check status, import all products and rollback with Drush | |
12 drush en migrate_json_example | |
13 drush migrate-status | |
14 drush migrate-import product | |
15 drush migrate-rollback product | |
16 | |
17 See config/optional/migrate_plus.migration.product.yml for details about the | |
18 migration. | |
19 | |
20 Thanks to Jeff Geerling and Christophe for the original code: | |
21 - https://www.jeffgeerling.com/blog/2016/migrate-custom-json-feed-drupal-8-migrate-source-json | |
22 - https://colorfield.be/blog/drupal-8-json-custom-migration |