protected function Commerce1TestBase::migrateFields in Commerce Migrate 3.0.x
Same name and namespace in other branches
- 8.2 modules/commerce/tests/src/Kernel/Migrate/commerce1/Commerce1TestBase.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\Commerce1TestBase::migrateFields()
- 3.1.x modules/commerce/tests/src/Kernel/Migrate/commerce1/Commerce1TestBase.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\Commerce1TestBase::migrateFields()
Executes field migration.
Required modules:
- comment.
- datetime.
- field.
- image.
- link.
- menu_ui.
- node.
- profile.
- taxonomy.
- telephone.
- text.
Overrides MigrateDrupal7TestBase::migrateFields
7 calls to Commerce1TestBase::migrateFields()
- AttributeTermTest::setUp in modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ AttributeTermTest.php - FieldFormatterSettingsTest::setUp in modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ FieldFormatterSettingsTest.php - FieldInstanceTest::setUp in modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ FieldInstanceTest.php - FieldInstanceWidgetSettingsTest::setUp in modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ FieldInstanceWidgetSettingsTest.php - NodeTest::setUp in modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ NodeTest.php
File
- modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ Commerce1TestBase.php, line 59
Class
- Commerce1TestBase
- Base class for Commerce 1 migration tests.
Namespace
Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1Code
protected function migrateFields() {
$this
->installEntitySchema('commerce_store');
$this
->migrateContentTypes();
$this
->migrateCommentTypes();
$this
->installEntitySchema('commerce_product');
$this
->installEntitySchema('commerce_product_variation');
$this
->installEntitySchema('profile');
$this
->executeMigration('d7_field');
$this
->executeMigrations([
'd7_taxonomy_vocabulary',
'd7_field_instance',
]);
}