protected function Commerce1TestBase::migrateContentTypes in Commerce Migrate 8.2
Same name and namespace in other branches
- 3.1.x modules/commerce/tests/src/Kernel/Migrate/commerce1/Commerce1TestBase.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\Commerce1TestBase::migrateContentTypes()
- 3.0.x modules/commerce/tests/src/Kernel/Migrate/commerce1/Commerce1TestBase.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\Commerce1TestBase::migrateContentTypes()
Executes content type migration.
Required modules:
- commerce_product.
- node.
Overrides MigrateDrupal7TestBase::migrateContentTypes
1 call to Commerce1TestBase::migrateContentTypes()
- Commerce1TestBase::migrateFields in modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ Commerce1TestBase.php - Executes field migration.
File
- modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ Commerce1TestBase.php, line 77
Class
- Commerce1TestBase
- Base class for Commerce 1 migration tests.
Namespace
Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1Code
protected function migrateContentTypes() {
parent::migrateContentTypes();
$this
->installEntitySchema('commerce_product');
$this
->installEntitySchema('commerce_product_variation');
$this
->executeMigrations([
'commerce1_product_variation_type',
'commerce1_product_type',
]);
}