protected function Ubercart6TestBase::migrateContentTypes in Commerce Migrate 3.0.x
Same name and namespace in other branches
- 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc6/Ubercart6TestBase.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\Ubercart6TestBase::migrateContentTypes()
- 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc6/Ubercart6TestBase.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\Ubercart6TestBase::migrateContentTypes()
Migrate node and product types.
Required modules:
- commerce_price.
- commerce_product.
- commerce_store.
- migrate_plus.
- node.
- path.
Overrides MigrateDrupal6TestBase::migrateContentTypes
2 calls to Ubercart6TestBase::migrateContentTypes()
- Ubercart6TestBase::migrateFields in modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc6/ Ubercart6TestBase.php - Executes all field migrations.
- Ubercart6TestBase::migrateOrderItems in modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc6/ Ubercart6TestBase.php - Executes order item migration.
File
- modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc6/ Ubercart6TestBase.php, line 67
Class
- Ubercart6TestBase
- Test base for Ubercart D6 tests.
Namespace
Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6Code
protected function migrateContentTypes() {
parent::migrateContentTypes();
$this
->installEntitySchema('commerce_product');
$this
->executeMigration('uc6_product_type');
}