Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
commerce_migrate
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
commerce_migrate
Commits
5c7e1729
Commit
5c7e1729
authored
May 08, 2018
by
quietone
Committed by
heddn
May 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2969074
by quietone, heddn: Renaming for Commerce sub module
parent
ee79501c
Changes
190
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
190 changed files
with
304 additions
and
307 deletions
+304
-307
modules/commerce/commerce_migrate_commerce.module
modules/commerce/commerce_migrate_commerce.module
+9
-9
modules/commerce/migrations/commerce1_billing_profile.yml
modules/commerce/migrations/commerce1_billing_profile.yml
+3
-3
modules/commerce/migrations/commerce1_currency.yml
modules/commerce/migrations/commerce1_currency.yml
+2
-2
modules/commerce/migrations/commerce1_default_store.yml
modules/commerce/migrations/commerce1_default_store.yml
+4
-4
modules/commerce/migrations/commerce1_message.yml
modules/commerce/migrations/commerce1_message.yml
+7
-7
modules/commerce/migrations/commerce1_order.yml
modules/commerce/migrations/commerce1_order.yml
+5
-5
modules/commerce/migrations/commerce1_order_item.yml
modules/commerce/migrations/commerce1_order_item.yml
+7
-7
modules/commerce/migrations/commerce1_order_item_type.yml
modules/commerce/migrations/commerce1_order_item_type.yml
+3
-3
modules/commerce/migrations/commerce1_payment.yml
modules/commerce/migrations/commerce1_payment.yml
+7
-7
modules/commerce/migrations/commerce1_payment_gateway.yml
modules/commerce/migrations/commerce1_payment_gateway.yml
+2
-2
modules/commerce/migrations/commerce1_product.yml
modules/commerce/migrations/commerce1_product.yml
+7
-7
modules/commerce/migrations/commerce1_product_type.yml
modules/commerce/migrations/commerce1_product_type.yml
+3
-3
modules/commerce/migrations/commerce1_product_variation.yml
modules/commerce/migrations/commerce1_product_variation.yml
+4
-4
modules/commerce/migrations/commerce1_product_variation_type.yml
.../commerce/migrations/commerce1_product_variation_type.yml
+3
-3
modules/commerce/migrations/commerce1_shipping_flat_rate.yml
modules/commerce/migrations/commerce1_shipping_flat_rate.yml
+2
-2
modules/commerce/migrations/commerce1_store.yml
modules/commerce/migrations/commerce1_store.yml
+3
-3
modules/commerce/src/Plugin/migrate/Order.php
modules/commerce/src/Plugin/migrate/Order.php
+1
-1
modules/commerce/src/Plugin/migrate/OrderItemDeriver.php
modules/commerce/src/Plugin/migrate/OrderItemDeriver.php
+2
-2
modules/commerce/src/Plugin/migrate/ProductDeriver.php
modules/commerce/src/Plugin/migrate/ProductDeriver.php
+1
-1
modules/commerce/src/Plugin/migrate/ProductVariationDeriver.php
...s/commerce/src/Plugin/migrate/ProductVariationDeriver.php
+1
-1
modules/commerce/src/Plugin/migrate/field/commerce1/CommerceCustomerProfileReference.php
...rate/field/commerce1/CommerceCustomerProfileReference.php
+2
-2
modules/commerce/src/Plugin/migrate/field/commerce1/CommerceLineItemReference.php
...gin/migrate/field/commerce1/CommerceLineItemReference.php
+2
-2
modules/commerce/src/Plugin/migrate/field/commerce1/CommercePrice.php
...erce/src/Plugin/migrate/field/commerce1/CommercePrice.php
+1
-1
modules/commerce/src/Plugin/migrate/field/commerce1/CommerceProductReference.php
...ugin/migrate/field/commerce1/CommerceProductReference.php
+1
-1
modules/commerce/src/Plugin/migrate/process/commerce1/CommerceAttributeHandlerSetting.php
...ate/process/commerce1/CommerceAttributeHandlerSetting.php
+2
-2
modules/commerce/src/Plugin/migrate/process/commerce1/CommerceAttributeTargetType.php
...migrate/process/commerce1/CommerceAttributeTargetType.php
+1
-1
modules/commerce/src/Plugin/migrate/process/commerce1/CommerceFieldName.php
...rc/Plugin/migrate/process/commerce1/CommerceFieldName.php
+1
-1
modules/commerce/src/Plugin/migrate/process/commerce1/CommercePrice.php
...ce/src/Plugin/migrate/process/commerce1/CommercePrice.php
+2
-2
modules/commerce/src/Plugin/migrate/source/commerce1/BillingProfile.php
...ce/src/Plugin/migrate/source/commerce1/BillingProfile.php
+3
-3
modules/commerce/src/Plugin/migrate/source/commerce1/Currency.php
...commerce/src/Plugin/migrate/source/commerce1/Currency.php
+2
-2
modules/commerce/src/Plugin/migrate/source/commerce1/Field.php
...es/commerce/src/Plugin/migrate/source/commerce1/Field.php
+2
-2
modules/commerce/src/Plugin/migrate/source/commerce1/LineItem.php
...commerce/src/Plugin/migrate/source/commerce1/LineItem.php
+3
-3
modules/commerce/src/Plugin/migrate/source/commerce1/Message.php
.../commerce/src/Plugin/migrate/source/commerce1/Message.php
+3
-3
modules/commerce/src/Plugin/migrate/source/commerce1/Order.php
...es/commerce/src/Plugin/migrate/source/commerce1/Order.php
+3
-3
modules/commerce/src/Plugin/migrate/source/commerce1/OrderItemType.php
...rce/src/Plugin/migrate/source/commerce1/OrderItemType.php
+3
-3
modules/commerce/src/Plugin/migrate/source/commerce1/PaymentGateway.php
...ce/src/Plugin/migrate/source/commerce1/PaymentGateway.php
+2
-2
modules/commerce/src/Plugin/migrate/source/commerce1/PaymentTransaction.php
...rc/Plugin/migrate/source/commerce1/PaymentTransaction.php
+2
-2
modules/commerce/src/Plugin/migrate/source/commerce1/ProductDisplay.php
...ce/src/Plugin/migrate/source/commerce1/ProductDisplay.php
+3
-3
modules/commerce/src/Plugin/migrate/source/commerce1/ProductDisplayType.php
...rc/Plugin/migrate/source/commerce1/ProductDisplayType.php
+3
-3
modules/commerce/src/Plugin/migrate/source/commerce1/ProductType.php
...merce/src/Plugin/migrate/source/commerce1/ProductType.php
+3
-3
modules/commerce/src/Plugin/migrate/source/commerce1/ProductVariations.php
...src/Plugin/migrate/source/commerce1/ProductVariations.php
+3
-3
modules/commerce/src/Plugin/migrate/source/commerce1/ViewMode.php
...commerce/src/Plugin/migrate/source/commerce1/ViewMode.php
+2
-2
modules/commerce/tests/src/Functional/commerce1/MigrateUpgradeCommerce1Test.php
.../src/Functional/commerce1/MigrateUpgradeCommerce1Test.php
+2
-2
modules/commerce/tests/src/Functional/commerce1/MigrateUpgradeReviewPageTest.php
...src/Functional/commerce1/MigrateUpgradeReviewPageTest.php
+2
-2
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/Sweatshirt-1v1.jpg
...al/commerce1/files/sites/default/files/Sweatshirt-1v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/Sweatshirt-1v1p.jpg
...l/commerce1/files/sites/default/files/Sweatshirt-1v1p.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/Sweatshirt-1v2.jpg
...al/commerce1/files/sites/default/files/Sweatshirt-1v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/Sweatshirt-1v2p.jpg
...l/commerce1/files/sites/default/files/Sweatshirt-1v2p.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/Sweatshirt-1v3.jpg
...al/commerce1/files/sites/default/files/Sweatshirt-1v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/Sweatshirt-1v3p.jpg
...l/commerce1/files/sites/default/files/Sweatshirt-1v3p.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/Sweatshirt-2v2.jpg
...al/commerce1/files/sites/default/files/Sweatshirt-2v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/Sweatshirt-2v2b.jpg
...l/commerce1/files/sites/default/files/Sweatshirt-2v2b.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/collection-banner-to_carry.jpg
.../files/sites/default/files/collection-banner-to_carry.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/collection-banner-to_drink_with.jpg
...s/sites/default/files/collection-banner-to_drink_with.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/collection-banner-to_geek_out.jpg
...les/sites/default/files/collection-banner-to_geek_out.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/collection-banner-to_wear.jpg
...1/files/sites/default/files/collection-banner-to_wear.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/field/image/blog_post/cmt_commerce_customizable_products.png
...ld/image/blog_post/cmt_commerce_customizable_products.png
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/field/image/blog_post/social_logins.png
...tes/default/files/field/image/blog_post/social_logins.png
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/field/image/brand/getting-thirsty.jpg
...sites/default/files/field/image/brand/getting-thirsty.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/field/image/brand/go-green.jpg
.../files/sites/default/files/field/image/brand/go-green.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/field/image/slideshow/slideshow-1.jpg
...sites/default/files/field/image/slideshow/slideshow-1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/field/image/slideshow/slideshow-2.jpg
...sites/default/files/field/image/slideshow/slideshow-2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/field/image/slideshow/slideshow-3.jpg
...sites/default/files/field/image/slideshow/slideshow-3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/flip-flop-2v1.jpg
...nal/commerce1/files/sites/default/files/flip-flop-2v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/flip-flop-2v2.jpg
...nal/commerce1/files/sites/default/files/flip-flop-2v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/flip-flop-2v3.jpg
...nal/commerce1/files/sites/default/files/flip-flop-2v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/hat-2v1.jpg
...unctional/commerce1/files/sites/default/files/hat-2v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/hat-2v2.jpg
...unctional/commerce1/files/sites/default/files/hat-2v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/hat-2v3.jpg
...unctional/commerce1/files/sites/default/files/hat-2v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/hat1_v1.jpg
...unctional/commerce1/files/sites/default/files/hat1_v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/hat1_v2.jpg
...unctional/commerce1/files/sites/default/files/hat1_v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/hat1_v3.jpg
...unctional/commerce1/files/sites/default/files/hat1_v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/iphone-case-1v1.jpg
...l/commerce1/files/sites/default/files/iphone-case-1v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/iphone-case-1v2.jpg
...l/commerce1/files/sites/default/files/iphone-case-1v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/iphone-case-1v3.jpg
...l/commerce1/files/sites/default/files/iphone-case-1v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/laptopbag1v1.jpg
...onal/commerce1/files/sites/default/files/laptopbag1v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/laptopbag1v2.jpg
...onal/commerce1/files/sites/default/files/laptopbag1v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/laptopbag1v3.jpg
...onal/commerce1/files/sites/default/files/laptopbag1v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-4v1.jpg
...nctional/commerce1/files/sites/default/files/mens-4v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-4v2.jpg
...nctional/commerce1/files/sites/default/files/mens-4v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-4v3.jpg
...nctional/commerce1/files/sites/default/files/mens-4v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt-1v1.jpg
...al/commerce1/files/sites/default/files/mens-shirt-1v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt-1v2.jpg
...al/commerce1/files/sites/default/files/mens-shirt-1v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt-1v3.jpg
...al/commerce1/files/sites/default/files/mens-shirt-1v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt-2v1.jpg
...al/commerce1/files/sites/default/files/mens-shirt-2v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt-2v1b.jpg
...l/commerce1/files/sites/default/files/mens-shirt-2v1b.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt-2v1p.jpg
...l/commerce1/files/sites/default/files/mens-shirt-2v1p.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt-2v2.jpg
...al/commerce1/files/sites/default/files/mens-shirt-2v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt-2v2b.jpg
...l/commerce1/files/sites/default/files/mens-shirt-2v2b.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt-2v2p.jpg
...l/commerce1/files/sites/default/files/mens-shirt-2v2p.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt-2v3.jpg
...al/commerce1/files/sites/default/files/mens-shirt-2v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt-2v3b.jpg
...l/commerce1/files/sites/default/files/mens-shirt-2v3b.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt-2v3p.jpg
...l/commerce1/files/sites/default/files/mens-shirt-2v3p.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt_3v1.jpg
...al/commerce1/files/sites/default/files/mens-shirt_3v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt_3v1b.jpg
...l/commerce1/files/sites/default/files/mens-shirt_3v1b.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt_3v1cr.jpg
.../commerce1/files/sites/default/files/mens-shirt_3v1cr.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt_3v2.jpg
...al/commerce1/files/sites/default/files/mens-shirt_3v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt_3v2b.jpg
...l/commerce1/files/sites/default/files/mens-shirt_3v2b.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt_3v2cr.jpg
.../commerce1/files/sites/default/files/mens-shirt_3v2cr.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt_3v3.jpg
...al/commerce1/files/sites/default/files/mens-shirt_3v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt_3v3b.jpg
...l/commerce1/files/sites/default/files/mens-shirt_3v3b.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mens-shirt_3v3cr.jpg
.../commerce1/files/sites/default/files/mens-shirt_3v3cr.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/messenger-1v1.jpg
...nal/commerce1/files/sites/default/files/messenger-1v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/messenger-1v2.jpg
...nal/commerce1/files/sites/default/files/messenger-1v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/messenger-1v3.jpg
...nal/commerce1/files/sites/default/files/messenger-1v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/messenger-1v4.jpg
...nal/commerce1/files/sites/default/files/messenger-1v4.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mug-1v1.jpg
...unctional/commerce1/files/sites/default/files/mug-1v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mug-1v2.jpg
...unctional/commerce1/files/sites/default/files/mug-1v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mug-1v3.jpg
...unctional/commerce1/files/sites/default/files/mug-1v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mug-2v1.jpg
...unctional/commerce1/files/sites/default/files/mug-2v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mug-2v2.jpg
...unctional/commerce1/files/sites/default/files/mug-2v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/mug-2v3.jpg
...unctional/commerce1/files/sites/default/files/mug-2v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/shoe2_v1.jpg
...nctional/commerce1/files/sites/default/files/shoe2_v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/shoe2_v2.jpg
...nctional/commerce1/files/sites/default/files/shoe2_v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/shoe2_v3.jpg
...nctional/commerce1/files/sites/default/files/shoe2_v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/sweatshirt-2v1.jpg
...al/commerce1/files/sites/default/files/sweatshirt-2v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/sweatshirt-2v1b.jpg
...l/commerce1/files/sites/default/files/sweatshirt-2v1b.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/sweatshirt-2v3.jpg
...al/commerce1/files/sites/default/files/sweatshirt-2v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/sweatshirt-2v3b.jpg
...l/commerce1/files/sites/default/files/sweatshirt-2v3b.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/tote-1v1.jpg
...nctional/commerce1/files/sites/default/files/tote-1v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/tote-1v2.jpg
...nctional/commerce1/files/sites/default/files/tote-1v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/tote-1v3.jpg
...nctional/commerce1/files/sites/default/files/tote-1v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/travel-mug-1v1.jpg
...al/commerce1/files/sites/default/files/travel-mug-1v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/travel-mug-1v2.jpg
...al/commerce1/files/sites/default/files/travel-mug-1v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/travel-mug-1v3.jpg
...al/commerce1/files/sites/default/files/travel-mug-1v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/usb-1v1.jpg
...unctional/commerce1/files/sites/default/files/usb-1v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/usb-1v2.jpg
...unctional/commerce1/files/sites/default/files/usb-1v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/usb-1v3.jpg
...unctional/commerce1/files/sites/default/files/usb-1v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/water-bottle-1v1.jpg
.../commerce1/files/sites/default/files/water-bottle-1v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/water-bottle-1v2.jpg
.../commerce1/files/sites/default/files/water-bottle-1v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/water-bottle-1v3.jpg
.../commerce1/files/sites/default/files/water-bottle-1v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens-1v1.jpg
...tional/commerce1/files/sites/default/files/womens-1v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens-1v1g.jpg
...ional/commerce1/files/sites/default/files/womens-1v1g.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens-1v1y.jpg
...ional/commerce1/files/sites/default/files/womens-1v1y.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens-1v2.jpg
...tional/commerce1/files/sites/default/files/womens-1v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens-1v2g.jpg
...ional/commerce1/files/sites/default/files/womens-1v2g.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens-1v2y.jpg
...ional/commerce1/files/sites/default/files/womens-1v2y.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens-1v3.jpg
...tional/commerce1/files/sites/default/files/womens-1v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens-1v3g.jpg
...ional/commerce1/files/sites/default/files/womens-1v3g.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens-1v3y.jpg
...ional/commerce1/files/sites/default/files/womens-1v3y.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens2v1.jpg
...ctional/commerce1/files/sites/default/files/womens2v1.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens2v1b.jpg
...tional/commerce1/files/sites/default/files/womens2v1b.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens2v1p.jpg
...tional/commerce1/files/sites/default/files/womens2v1p.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens2v2.jpg
...ctional/commerce1/files/sites/default/files/womens2v2.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens2v2b.jpg
...tional/commerce1/files/sites/default/files/womens2v2b.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens2v2p.jpg
...tional/commerce1/files/sites/default/files/womens2v2p.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens2v3.jpg
...ctional/commerce1/files/sites/default/files/womens2v3.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens2v3b.jpg
...tional/commerce1/files/sites/default/files/womens2v3b.jpg
+0
-0
modules/commerce/tests/src/Functional/commerce1/files/sites/default/files/womens2v3p.jpg
...tional/commerce1/files/sites/default/files/womens2v3p.jpg
+0
-0
modules/commerce/tests/src/Kernel/Migrate/commerce1/AttributeTermTest.php
.../tests/src/Kernel/Migrate/commerce1/AttributeTermTest.php
+4
-4
modules/commerce/tests/src/Kernel/Migrate/commerce1/Commerce1TestBase.php
.../tests/src/Kernel/Migrate/commerce1/Commerce1TestBase.php
+5
-7
modules/commerce/tests/src/Kernel/Migrate/commerce1/CurrencyTest.php
...merce/tests/src/Kernel/Migrate/commerce1/CurrencyTest.php
+4
-4
modules/commerce/tests/src/Kernel/Migrate/commerce1/DefaultStoreTest.php
...e/tests/src/Kernel/Migrate/commerce1/DefaultStoreTest.php
+4
-4
modules/commerce/tests/src/Kernel/Migrate/commerce1/FieldFormatterSettingsTest.php
...c/Kernel/Migrate/commerce1/FieldFormatterSettingsTest.php
+6
-6
modules/commerce/tests/src/Kernel/Migrate/commerce1/FieldInstanceTest.php
.../tests/src/Kernel/Migrate/commerce1/FieldInstanceTest.php
+6
-6
modules/commerce/tests/src/Kernel/Migrate/commerce1/FieldInstanceWidgetSettingsTest.php
...nel/Migrate/commerce1/FieldInstanceWidgetSettingsTest.php
+6
-6
modules/commerce/tests/src/Kernel/Migrate/commerce1/FieldTest.php
...commerce/tests/src/Kernel/Migrate/commerce1/FieldTest.php
+5
-5
modules/commerce/tests/src/Kernel/Migrate/commerce1/LogTest.php
...s/commerce/tests/src/Kernel/Migrate/commerce1/LogTest.php
+9
-9
modules/commerce/tests/src/Kernel/Migrate/commerce1/NodeDeriverTest.php
...ce/tests/src/Kernel/Migrate/commerce1/NodeDeriverTest.php
+1
-1
modules/commerce/tests/src/Kernel/Migrate/commerce1/OrderItemDeriverTest.php
...sts/src/Kernel/Migrate/commerce1/OrderItemDeriverTest.php
+6
-6
modules/commerce/tests/src/Kernel/Migrate/commerce1/OrderItemTest.php
...erce/tests/src/Kernel/Migrate/commerce1/OrderItemTest.php
+6
-6
modules/commerce/tests/src/Kernel/Migrate/commerce1/OrderItemTypeTest.php
.../tests/src/Kernel/Migrate/commerce1/OrderItemTypeTest.php
+3
-3
modules/commerce/tests/src/Kernel/Migrate/commerce1/OrderMigrationClassTest.php
.../src/Kernel/Migrate/commerce1/OrderMigrationClassTest.php
+4
-4
modules/commerce/tests/src/Kernel/Migrate/commerce1/OrderRollbackTest.php
.../tests/src/Kernel/Migrate/commerce1/OrderRollbackTest.php
+3
-3
modules/commerce/tests/src/Kernel/Migrate/commerce1/OrderTest.php
...commerce/tests/src/Kernel/Migrate/commerce1/OrderTest.php
+9
-9
modules/commerce/tests/src/Kernel/Migrate/commerce1/PaymentGatewayTest.php
...tests/src/Kernel/Migrate/commerce1/PaymentGatewayTest.php
+3
-3
modules/commerce/tests/src/Kernel/Migrate/commerce1/PaymentTest.php
...mmerce/tests/src/Kernel/Migrate/commerce1/PaymentTest.php
+10
-10
modules/commerce/tests/src/Kernel/Migrate/commerce1/ProductDeriverTest.php
...tests/src/Kernel/Migrate/commerce1/ProductDeriverTest.php
+4
-4
modules/commerce/tests/src/Kernel/Migrate/commerce1/ProductRollbackTest.php
...ests/src/Kernel/Migrate/commerce1/ProductRollbackTest.php
+3
-3
modules/commerce/tests/src/Kernel/Migrate/commerce1/ProductTest.php
...mmerce/tests/src/Kernel/Migrate/commerce1/ProductTest.php
+7
-7
modules/commerce/tests/src/Kernel/Migrate/commerce1/ProductTypeTest.php
...ce/tests/src/Kernel/Migrate/commerce1/ProductTypeTest.php
+4
-4
modules/commerce/tests/src/Kernel/Migrate/commerce1/ProductVariationDeriverTest.php
.../Kernel/Migrate/commerce1/ProductVariationDeriverTest.php
+5
-5
modules/commerce/tests/src/Kernel/Migrate/commerce1/ProductVariationTest.php
...sts/src/Kernel/Migrate/commerce1/ProductVariationTest.php
+5
-6
modules/commerce/tests/src/Kernel/Migrate/commerce1/ProductVariationTypeTest.php
...src/Kernel/Migrate/commerce1/ProductVariationTypeTest.php
+3
-3
modules/commerce/tests/src/Kernel/Migrate/commerce1/ProfileBillingTest.php
...tests/src/Kernel/Migrate/commerce1/ProfileBillingTest.php
+3
-3
modules/commerce/tests/src/Kernel/Migrate/commerce1/ShippingFlatRateTest.php
...sts/src/Kernel/Migrate/commerce1/ShippingFlatRateTest.php
+3
-3
modules/commerce/tests/src/Kernel/Migrate/commerce1/StoreTest.php
...commerce/tests/src/Kernel/Migrate/commerce1/StoreTest.php
+2
-2
modules/commerce/tests/src/Kernel/Migrate/commerce1/ViewModesTest.php
...erce/tests/src/Kernel/Migrate/commerce1/ViewModesTest.php
+4
-4
modules/commerce/tests/src/Kernel/Plugin/migrate/source/commerce1/BillingProfileTest.php
...el/Plugin/migrate/source/commerce1/BillingProfileTest.php
+3
-3
modules/commerce/tests/src/Kernel/Plugin/migrate/source/commerce1/CurrencyTest.php
...c/Kernel/Plugin/migrate/source/commerce1/CurrencyTest.php
+4
-4
modules/commerce/tests/src/Kernel/Plugin/migrate/source/commerce1/LineItemTest.php
...c/Kernel/Plugin/migrate/source/commerce1/LineItemTest.php
+4
-4
modules/commerce/tests/src/Kernel/Plugin/migrate/source/commerce1/MessageTest.php
...rc/Kernel/Plugin/migrate/source/commerce1/MessageTest.php
+4
-4
modules/commerce/tests/src/Kernel/Plugin/migrate/source/commerce1/OrderItemTypeTest.php
...nel/Plugin/migrate/source/commerce1/OrderItemTypeTest.php
+4
-4
modules/commerce/tests/src/Kernel/Plugin/migrate/source/commerce1/PaymentGatewayTest.php
...el/Plugin/migrate/source/commerce1/PaymentGatewayTest.php
+3
-3
modules/commerce/tests/src/Kernel/Plugin/migrate/source/commerce1/PaymentTransactionTest.php
...lugin/migrate/source/commerce1/PaymentTransactionTest.php
+4
-4
modules/commerce/tests/src/Kernel/Plugin/migrate/source/commerce1/ProductDisplayTypeTest.php
...lugin/migrate/source/commerce1/ProductDisplayTypeTest.php
+3
-3
modules/commerce/tests/src/Kernel/Plugin/migrate/source/commerce1/ProductTypeTest.php
...ernel/Plugin/migrate/source/commerce1/ProductTypeTest.php
+4
-4
modules/commerce/tests/src/Kernel/Plugin/migrate/source/commerce1/ViewModeTest.php
...c/Kernel/Plugin/migrate/source/commerce1/ViewModeTest.php
+3
-3
tests/src/Kernel/CommerceMigrationLabelExistTest.php
tests/src/Kernel/CommerceMigrationLabelExistTest.php
+1
-1
tests/src/Kernel/CommerceMigrationProvidersExistTest.php
tests/src/Kernel/CommerceMigrationProvidersExistTest.php
+1
-1
No files found.
modules/commerce/commerce_migrate_commerce.module
View file @
5c7e1729
...
...
@@ -45,10 +45,10 @@ function commerce_migrate_commerce_migration_plugins_alter(array &$migrations) {
if
((
is_a
(
$migration
[
'class'
],
FieldMigration
::
class
,
TRUE
)))
{
// Field storage.
if
(
is_a
(
$source
,
Field
::
class
))
{
$migration
[
'source'
][
'plugin'
]
=
'
d7_commerce
_field'
;
$migration
[
'source'
][
'plugin'
]
=
'
commerce1
_field'
;
$migration
[
'process'
][
'entity_type'
]
=
_commerce_migrate_commerce_get_entity_type
(
'commerce1_entity_type'
);
$migration
[
'migration_dependencies'
][
'required'
][]
=
'
d7
_commerce_product_type'
;
$migration
[
'migration_dependencies'
][
'required'
][]
=
'
d7
_commerce_product_variation_type'
;
$migration
[
'migration_dependencies'
][
'required'
][]
=
'
commerce1
_commerce_product_type'
;
$migration
[
'migration_dependencies'
][
'required'
][]
=
'
commerce1
_commerce_product_variation_type'
;
$migration
[
'source'
][
'constants'
][
'prefix'
]
=
'attribute_'
;
$attributes_process
=
[];
$attributes_process
[
'field_name_attribute'
]
=
...
...
@@ -81,11 +81,11 @@ function commerce_migrate_commerce_migration_plugins_alter(array &$migrations) {
// must be after the process for the settings field.
$attributes_process
[
'settings/handler_settings'
]
=
[
'plugin'
=>
'
d7
_attribute_handler_setting'
,
'plugin'
=>
'
commerce1
_attribute_handler_setting'
,
];
$migration
[
'process'
]
+=
$attributes_process
;
$migration
[
'migration_dependencies'
][
'required'
][]
=
'
d7_commerce
_product_type'
;
$migration
[
'migration_dependencies'
][
'required'
][]
=
'
d7_commerce
_product_variation_type'
;
$migration
[
'migration_dependencies'
][
'required'
][]
=
'
commerce1
_product_type'
;
$migration
[
'migration_dependencies'
][
'required'
][]
=
'
commerce1
_product_variation_type'
;
}
// Field instance widget settings.
...
...
@@ -148,10 +148,10 @@ function commerce_migrate_commerce_migration_plugins_alter(array &$migrations) {
// View mode.
if
(
is_a
(
$source
,
ViewMode
::
class
))
{
$migration
[
'source'
][
'plugin'
]
=
'
d7_commerce
_view_mode'
;
$migration
[
'source'
][
'plugin'
]
=
'
commerce1
_view_mode'
;
// Add map for the destination entity type.
// Use the source entity type here because the source plugin,
// '
d7_commerce
_view_mode', will add rows for the product displays.
// '
commerce1
_view_mode', will add rows for the product displays.
$migration
[
'process'
][
'targetEntityType'
]
=
_commerce_migrate_commerce_get_entity_type
(
'entity_type'
);
$migration
[
'process'
][
'targetEntityType'
][
0
][
'map'
][
'commerce_customer_profile'
]
=
'skip'
;
}
...
...
@@ -229,7 +229,7 @@ function _commerce_migrate_commerce_get_product_node_types(array $migrations) {
// Get the product types.
/** @var \Drupal\migrate\Plugin\migrate\source\SqlBase $source_plugin */
$source_plugin
=
\
Drupal
::
service
(
'plugin.manager.migration'
)
->
createStubMigration
(
$migrations
[
'
d7_commerce
_store'
])
->
createStubMigration
(
$migrations
[
'
commerce1
_store'
])
->
getSourcePlugin
();
$product_node_types
=
[];
$connection
=
NULL
;
...
...
modules/commerce/migrations/
d7_commerce
_billing_profile.yml
→
modules/commerce/migrations/
commerce1
_billing_profile.yml
View file @
5c7e1729
id
:
d7_commerce
_billing_profile
id
:
commerce1
_billing_profile
label
:
Commerce customer profile
migration_tags
:
-
Drupal
7
-
Commerce
1
-
Commerce
source
:
plugin
:
d7
_billing_profile
plugin
:
commerce1
_billing_profile
process
:
profile_id
:
profile_id
revision_id
:
revision_id
...
...
modules/commerce/migrations/
d7_commerce
_currency.yml
→
modules/commerce/migrations/
commerce1
_currency.yml
View file @
5c7e1729
id
:
d7_commerce
_currency
id
:
commerce1
_currency
label
:
Commerce currency
migration_tags
:
-
Drupal
7
-
Commerce
1
-
Commerce
source
:
plugin
:
commerce_currency
variables
:
...
...
modules/commerce/migrations/
d7_commerce
_default_store.yml
→
modules/commerce/migrations/
commerce1
_default_store.yml
View file @
5c7e1729
id
:
d7_commerce
_default_store
id
:
commerce1
_default_store
label
:
Commerce default store
migration_tags
:
-
Drupal
7
-
Commerce
1
-
Commerce
source
:
plugin
:
variable
variables
:
...
...
@@ -15,11 +15,11 @@ process:
name
:
site_name
id
:
plugin
:
migration_lookup
migration
:
d7_commerce
_store
migration
:
commerce1
_store
source
:
'
constants/site_name'
destination
:
plugin
:
default_commerce_store
config_name
:
commerce_store.settings
migration_dependencies
:
required
:
-
d7_commerce
_store
-
commerce1
_store
modules/commerce/migrations/
d7_commerce
_message.yml
→
modules/commerce/migrations/
commerce1
_message.yml
View file @
5c7e1729
id
:
d7_commerce
_message
id
:
commerce1
_message
label
:
Commerce messages
migration_tags
:
-
Drupal
7
-
Commerce
1
-
Commerce
source
:
plugin
:
d7
_message
plugin
:
commerce1
_message
process
:
skip
:
-
...
...
@@ -52,7 +52,7 @@ process:
source
:
uid
source_entity_id
:
plugin
:
migration_lookup
migration
:
d7_commerce
_order
migration
:
commerce1
_order
source
:
target_id
source_entity_type
:
plugin
:
static_map
...
...
@@ -73,6 +73,6 @@ destination:
destination_module
:
commerce_log
migration_dependencies
:
required
:
-
d7_commerce
_billing_profile
-
d7_commerce
_product_variation
-
d7_commerce
_order
-
commerce1
_billing_profile
-
commerce1
_product_variation
-
commerce1
_order
modules/commerce/migrations/
d7_commerce
_order.yml
→
modules/commerce/migrations/
commerce1
_order.yml
View file @
5c7e1729
id
:
d7_commerce
_order
id
:
commerce1
_order
label
:
Commerce order
migration_tags
:
-
Drupal
7
-
Commerce
1
-
Commerce
class
:
Drupal\commerce_migrate_commerce\Plugin\migrate\Order
source
:
plugin
:
d7
_order
plugin
:
commerce1
_order
constants
:
refresh_state
:
refresh_skip
process
:
...
...
@@ -46,7 +46,7 @@ destination:
destination_module
:
commerce_order
migration_dependencies
:
required
:
-
d7_commerce
_order_item
-
d7_commerce
_billing_profile
-
commerce1
_order_item
-
commerce1
_billing_profile
# - d7_field
# - d7_field_instance
modules/commerce/migrations/
d7_commerce
_order_item.yml
→
modules/commerce/migrations/
commerce1
_order_item.yml
View file @
5c7e1729
id
:
d7_commerce
_order_item
id
:
commerce1
_order_item
label
:
Commerce order item
deriver
:
Drupal\commerce_migrate_commerce\Plugin\migrate\OrderItemDeriver
migration_tags
:
-
Drupal
7
-
Commerce
1
-
Commerce
source
:
plugin
:
d7
_line_item
plugin
:
commerce1
_line_item
process
:
order_item_id
:
line_item_id
revision_id
:
revision_id
...
...
@@ -17,15 +17,15 @@ process:
title
:
title
purchased_entity
:
plugin
:
migration_lookup
migration
:
d7_commerce
_product_variation
migration
:
commerce1
_product_variation
source
:
commerce_product
destination
:
plugin
:
'
entity:commerce_order_item'
destination_module
:
commerce_order
migration_dependencies
:
required
:
-
d7_commerce
_default_store
-
d7_commerce
_product_variation
-
d7_commerce
_order_item_type
-
commerce1
_default_store
-
commerce1
_product_variation
-
commerce1
_order_item_type
# - d7_field
# - d7_field_instance
modules/commerce/migrations/
d7_commerce
_order_item_type.yml
→
modules/commerce/migrations/
commerce1
_order_item_type.yml
View file @
5c7e1729
id
:
d7_commerce
_order_item_type
id
:
commerce1
_order_item_type
label
:
Commerce order item type
migration_tags
:
-
Drupal
7
-
Commerce
1
-
Commerce
source
:
plugin
:
d7
_order_item_type
plugin
:
commerce1
_order_item_type
process
:
id
:
type
type
:
type
...
...
modules/commerce/migrations/
d7_commerce
_payment.yml
→
modules/commerce/migrations/
commerce1
_payment.yml
View file @
5c7e1729
id
:
d7_commerce
_payment
id
:
commerce1
_payment
label
:
Commerce payment
migration_tags
:
-
Drupal
7
-
Commerce
1
-
Commerce
source
:
plugin
:
d7
_payment_transaction
plugin
:
commerce1
_payment_transaction
constants
:
type
:
payment_manual
process
:
...
...
@@ -12,7 +12,7 @@ process:
payment_gateway
:
-
plugin
:
migration_lookup
migration
:
d7_commerce
_payment_gateway
migration
:
commerce1
_payment_gateway
source
:
payment_method
-
plugin
:
skip_on_empty
...
...
@@ -23,7 +23,7 @@ process:
order_id
:
-
plugin
:
migration_lookup
migration
:
d7_commerce
_order
migration
:
commerce1
_order
source
:
order_id
-
plugin
:
skip_on_empty
...
...
@@ -39,5 +39,5 @@ destination:
destination_module
:
commerce_payment
migration_dependencies
:
required
:
-
d7_commerce
_order
-
d7_commerce
_payment_gateway
-
commerce1
_order
-
commerce1
_payment_gateway
modules/commerce/migrations/
d7_commerce
_payment_gateway.yml
→
modules/commerce/migrations/
commerce1
_payment_gateway.yml
View file @
5c7e1729
id
:
d7_commerce
_payment_gateway
id
:
commerce1
_payment_gateway
label
:
Commerce payment gateway
migration_tags
:
-
Drupal
7
-
Commerce
source
:
plugin
:
d7_commerce
_payment_gateway
plugin
:
commerce1
_payment_gateway
constants
:
plugin
:
manual
process
:
...
...
modules/commerce/migrations/
d7_commerce
_product.yml
→
modules/commerce/migrations/
commerce1
_product.yml
View file @
5c7e1729
id
:
d7_commerce
_product
id
:
commerce1
_product
label
:
Commerce product
migration_tags
:
-
Drupal
7
-
Commerce
1
-
Commerce
deriver
:
Drupal\commerce_migrate_commerce\Plugin\migrate\ProductDeriver
source
:
plugin
:
d7
_product_display
plugin
:
commerce1
_product_display
process
:
product_id
:
nid
title
:
title
...
...
@@ -18,13 +18,13 @@ process:
path
:
path
variations
:
plugin
:
migration_lookup
migration
:
d7_commerce
_product_variation
migration
:
commerce1
_product_variation
source
:
variations_field
destination
:
plugin
:
'
entity:commerce_product'
destination_module
:
commerce_product
migration_dependencies
:
required
:
-
d7_commerce
_default_store
-
d7_commerce
_product_variation
-
d7_commerce
_product_type
-
commerce1
_default_store
-
commerce1
_product_variation
-
commerce1
_product_type
modules/commerce/migrations/
d7_commerce
_product_type.yml
→
modules/commerce/migrations/
commerce1
_product_type.yml
View file @
5c7e1729
id
:
d7_commerce
_product_type
id
:
commerce1
_product_type
label
:
Commerce product type
migration_tags
:
-
Drupal
7
-
Commerce
1
-
Commerce
source
:
plugin
:
d7
_product_display_type
plugin
:
commerce1
_product_display_type
variations
:
matching
:
true
default
:
default
...
...
modules/commerce/migrations/
d7_commerce
_product_variation.yml
→
modules/commerce/migrations/
commerce1
_product_variation.yml
View file @
5c7e1729
id
:
d7_commerce
_product_variation
id
:
commerce1
_product_variation
label
:
Commerce product variation
migration_tags
:
-
Drupal
7
-
Commerce
1
-
Commerce
deriver
:
Drupal\commerce_migrate_commerce\Plugin\migrate\ProductVariationDeriver
source
:
plugin
:
d7
_product
plugin
:
commerce1
_product
process
:
variation_id
:
product_id
# The product_id field is NULL after this migration.
...
...
@@ -32,6 +32,6 @@ destination:
destination_module
:
commerce_product
migration_dependencies
:
required
:
-
d7_commerce
_product_variation_type
-
commerce1
_product_variation_type
# - d7_field
# - d7_field_instance
modules/commerce/migrations/
d7_commerce
_product_variation_type.yml
→
modules/commerce/migrations/
commerce1
_product_variation_type.yml
View file @
5c7e1729
id
:
d7_commerce
_product_variation_type
id
:
commerce1
_product_variation_type
label
:
Commerce product variation type
migration_tags
:
-
Drupal
7
-
Commerce
1
-
Commerce
source
:
plugin
:
d7
_product_type
plugin
:
commerce1
_product_type
constants
:
generate_title
:
false
line_item_type
:
product_variation
...
...
modules/commerce/migrations/
d7_commerce
_shipping_flat_rate.yml
→
modules/commerce/migrations/
commerce1
_shipping_flat_rate.yml
View file @
5c7e1729
id
:
d7_commerce
_shipping_flat_rate
id
:
commerce1
_shipping_flat_rate
label
:
Commerce 1 shipping flat rate
migration_tags
:
-
Drupal
7
-
Commerce
1
-
Commerce
source
:
plugin
:
d7_shipping_flat_rate
process
:
...
...
modules/commerce/migrations/
d7_commerce
_store.yml
→
modules/commerce/migrations/
commerce1
_store.yml
View file @
5c7e1729
id
:
d7_commerce
_store
id
:
commerce1
_store
label
:
Commerce store
migration_tags
:
-
Drupal
7
-
Commerce
1
-
Commerce
source
:
plugin
:
variable
variables
:
...
...
@@ -31,4 +31,4 @@ destination:
migration_dependencies
:
required
:
-
d7_user
-
d7_commerce
_currency
-
commerce1
_currency
modules/commerce/src/Plugin/migrate/Order.php
View file @
5c7e1729
...
...
@@ -5,7 +5,7 @@ namespace Drupal\commerce_migrate_commerce\Plugin\migrate;
use
Drupal\migrate_drupal
\
Plugin\migrate\FieldMigration
;
/**
* Plugin class for
Drupal 7 order migrations dealing with
fields and profiles.
* Plugin class for
Commerce 1 order migrations to handle
fields and profiles.
*/
class
Order
extends
FieldMigration
{
...
...
modules/commerce/src/Plugin/migrate/OrderItemDeriver.php
View file @
5c7e1729
...
...
@@ -13,7 +13,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
use
Symfony\Component\EventDispatcher\EventDispatcherInterface
;
/**
* Deriver for
Drupal 7
line items based on line item types.
* Deriver for
Commerce 1
line items based on line item types.
*/
class
OrderItemDeriver
extends
DeriverBase
implements
ContainerDeriverInterface
{
...
...
@@ -71,7 +71,7 @@ class OrderItemDeriver extends DeriverBase implements ContainerDeriverInterface
*/
public
function
getDerivativeDefinitions
(
$base_plugin_definition
)
{
// @todo: Convert to new trait. See https://www.drupal.org/node/2951550.
$order_item_types
=
static
::
getSourcePlugin
(
'
d7
_order_item_type'
);
$order_item_types
=
static
::
getSourcePlugin
(
'
commerce1
_order_item_type'
);
try
{
$order_item_types
->
checkRequirements
();
}
...
...
modules/commerce/src/Plugin/migrate/ProductDeriver.php
View file @
5c7e1729
...
...
@@ -85,7 +85,7 @@ class ProductDeriver extends DeriverBase implements ContainerDeriverInterface {
* {@inheritdoc}
*/
public
function
getDerivativeDefinitions
(
$base_plugin_definition
)
{
$product_types
=
static
::
getSourcePlugin
(
'
d7
_product_display_type'
);
$product_types
=
static
::
getSourcePlugin
(
'
commerce1
_product_display_type'
);
try
{
$product_types
->
checkRequirements
();
}
...
...
modules/commerce/src/Plugin/migrate/ProductVariationDeriver.php
View file @
5c7e1729
...
...
@@ -85,7 +85,7 @@ class ProductVariationDeriver extends DeriverBase implements ContainerDeriverInt
* {@inheritdoc}
*/
public
function
getDerivativeDefinitions
(
$base_plugin_definition
)
{
$product_variation_types
=
static
::
getSourcePlugin
(
'
d7
_product_type'
);
$product_variation_types
=
static
::
getSourcePlugin
(
'
commerce1
_product_type'
);
try
{
$product_variation_types
->
checkRequirements
();
}
...
...
modules/commerce/src/Plugin/migrate/field/
d7
/CommerceCustomerProfileReference.php
→
modules/commerce/src/Plugin/migrate/field/
commerce1
/CommerceCustomerProfileReference.php
View file @
5c7e1729
<?php
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\field\
d7
;
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\field\
commerce1
;
use
Drupal\migrate\Plugin\MigrationInterface
;
use
Drupal\migrate_drupal
\
Plugin\migrate\field\FieldPluginBase
;
...
...
@@ -38,7 +38,7 @@ class CommerceCustomerProfileReference extends FieldPluginBase {
$destination_field_name
=
isset
(
$this
->
fieldNameMap
[
$field_name
])
?
$this
->
fieldNameMap
[
$field_name
]
:
$field_name
;
$process
=
[
'plugin'
=>
'commerce_migrate_commerce_reference_revision'
,
'migration'
=>
'
d7_commerce
_billing_profile'
,
'migration'
=>
'
commerce1
_billing_profile'
,
'source'
=>
$field_name
,
'no_stub'
=>
TRUE
,
];
...
...
modules/commerce/src/Plugin/migrate/field/
d7
/CommerceLineItemReference.php
→
modules/commerce/src/Plugin/migrate/field/
commerce1
/CommerceLineItemReference.php
View file @
5c7e1729
<?php
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\field\
d7
;
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\field\
commerce1
;
use
Drupal\migrate\Plugin\MigrationInterface
;
use
Drupal\migrate_drupal
\
Plugin\migrate\field\FieldPluginBase
;
...
...
@@ -37,7 +37,7 @@ class CommerceLineItemReference extends FieldPluginBase {
$destination_field_name
=
isset
(
$this
->
fieldNameMap
[
$field_name
])
?
$this
->
fieldNameMap
[
$field_name
]
:
$field_name
;
$process
=
[
'plugin'
=>
'migration_lookup'
,
'migration'
=>
'
d7_commerce
_order_item'
,
'migration'
=>
'
commerce1
_order_item'
,
'source'
=>
$field_name
,
];
$migration
->
setProcessOfProperty
(
$destination_field_name
,
$process
);
...
...
modules/commerce/src/Plugin/migrate/field/
d7
/CommercePrice.php
→
modules/commerce/src/Plugin/migrate/field/
commerce1
/CommercePrice.php
View file @
5c7e1729
<?php
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\field\
d7
;
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\field\
commerce1
;
use
Drupal\migrate\Row
;
use
Drupal\migrate_drupal
\
Plugin\migrate\field\FieldPluginBase
;
...
...
modules/commerce/src/Plugin/migrate/field/
d7
/CommerceProductReference.php
→
modules/commerce/src/Plugin/migrate/field/
commerce1
/CommerceProductReference.php
View file @
5c7e1729
<?php
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\field\
d7
;
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\field\
commerce1
;
use
Drupal\migrate\Plugin\MigrationInterface
;
use
Drupal\migrate_drupal
\
Plugin\migrate\field\FieldPluginBase
;
...
...
modules/commerce/src/Plugin/migrate/process/
d7
/CommerceAttributeHandlerSetting.php
→
modules/commerce/src/Plugin/migrate/process/
commerce1
/CommerceAttributeHandlerSetting.php
View file @
5c7e1729
<?php
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\process\
d7
;
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\process\
commerce1
;
use
Drupal\migrate\MigrateExecutableInterface
;
use
Drupal\migrate\MigrateSkipProcessException
;
...
...
@@ -11,7 +11,7 @@ use Drupal\migrate\Row;
* Adjusts the fields settings for attributes.
*
* @MigrateProcessPlugin(
* id = "
d7
_attribute_handler_setting"
* id = "
commerce1
_attribute_handler_setting"
* )
*/
class
CommerceAttributeHandlerSetting
extends
ProcessPluginBase
{
...
...
modules/commerce/src/Plugin/migrate/process/
d7
/CommerceAttributeTargetType.php
→
modules/commerce/src/Plugin/migrate/process/
commerce1
/CommerceAttributeTargetType.php
View file @
5c7e1729
<?php
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\process\
d7
;
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\process\
commerce1
;
use
Drupal\migrate\MigrateExecutableInterface
;
use
Drupal\migrate\ProcessPluginBase
;
...
...
modules/commerce/src/Plugin/migrate/process/
d7
/CommerceFieldName.php
→
modules/commerce/src/Plugin/migrate/process/
commerce1
/CommerceFieldName.php
View file @
5c7e1729
<?php
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\process\
d7
;
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\process\
commerce1
;
use
Drupal\migrate\MigrateExecutableInterface
;
use
Drupal\migrate\ProcessPluginBase
;
...
...
modules/commerce/src/Plugin/migrate/process/
d7
/CommercePrice.php
→
modules/commerce/src/Plugin/migrate/process/
commerce1
/CommercePrice.php
View file @
5c7e1729
<?php
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\process\
d7
;
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\process\
commerce1
;
use
Drupal\migrate\MigrateExecutableInterface
;
use
Drupal\migrate\ProcessPluginBase
;
use
Drupal\migrate\Row
;
/**
* Migrate commerce price from
D7 to D8
.
* Migrate commerce price from
Commerce 1 to Commerce 2
.
*
* @MigrateProcessPlugin(
* id = "commerce_migrate_commerce_price"
...
...
modules/commerce/src/Plugin/migrate/source/
d7
/BillingProfile.php
→
modules/commerce/src/Plugin/migrate/source/
commerce1
/BillingProfile.php
View file @
5c7e1729
<?php
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\source\
d7
;
namespace
Drupal\commerce_migrate_commerce\Plugin\migrate\source\
commerce1
;
use
Drupal\migrate\Row
;
use
Drupal\migrate_drupal
\
Plugin\migrate\source\d7\FieldableEntity
;