protected function Ubercart7TestBase::migrateContentTypes in Commerce Migrate 8.2
Same name and namespace in other branches
- 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc7/Ubercart7TestBase.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\Ubercart7TestBase::migrateContentTypes()
- 3.0.x modules/ubercart/tests/src/Kernel/Migrate/uc7/Ubercart7TestBase.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\Ubercart7TestBase::migrateContentTypes()
Executes content type migration.
Required modules:
- commerce_product.
- node.
Overrides MigrateDrupal7TestBase::migrateContentTypes
6 calls to Ubercart7TestBase::migrateContentTypes()
- CommentEntityDisplayTest::setUp in modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc7/ CommentEntityDisplayTest.php - CommentEntityFormDisplayTest::setUp in modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc7/ CommentEntityFormDisplayTest.php - CommentFieldInstanceTest::setUp in modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc7/ CommentFieldInstanceTest.php - Ubercart7TestBase::migrateFields in modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc7/ Ubercart7TestBase.php - Executes field migration.
- Ubercart7TestBase::migrateOrderItems in modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc7/ Ubercart7TestBase.php - Executes order item migration.
File
- modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc7/ Ubercart7TestBase.php, line 120
Class
- Ubercart7TestBase
- Test base for Ubercart 7 tests.
Namespace
Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7Code
protected function migrateContentTypes() {
parent::migrateContentTypes();
$this
->installEntitySchema('commerce_product');
$this
->installEntitySchema('commerce_product_variation');
$this
->installConfig([
'commerce_product',
]);
$this
->executeMigrations([
'uc7_product_variation_type',
'uc7_product_type',
]);
}