protected function Ubercart7TestBase::migrateAttributes 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::migrateAttributes()
- 3.0.x modules/ubercart/tests/src/Kernel/Migrate/uc7/Ubercart7TestBase.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\Ubercart7TestBase::migrateAttributes()
Executes attributes migrations.
Required modules:
- commerce_price.
- commerce_product.
- commerce_store.
- path.
2 calls to Ubercart7TestBase::migrateAttributes()
- AttributeFieldInstanceWidgetSettingsTest::setUp in modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc7/ AttributeFieldInstanceWidgetSettingsTest.php - 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 44
Class
- Ubercart7TestBase
- Test base for Ubercart 7 tests.
Namespace
Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7Code
protected function migrateAttributes() {
$this
->installEntitySchema('commerce_product_variation');
$this
->installEntitySchema('commerce_product');
$this
->installConfig([
'commerce_product',
]);
$this
->executeMigrations([
'uc_attribute_field',
'uc_product_attribute',
'uc_attribute_field_instance',
'uc_attribute_instance_widget_settings',
]);
}