You are here

protected function Ubercart6TestBase::migrateFields in Commerce Migrate 3.0.x

Same name and namespace in other branches
  1. 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc6/Ubercart6TestBase.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\Ubercart6TestBase::migrateFields()
  2. 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc6/Ubercart6TestBase.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\Ubercart6TestBase::migrateFields()

Executes all field migrations.

Overrides MigrateDrupal6TestBase::migrateFields

5 calls to Ubercart6TestBase::migrateFields()
FieldFormatterSettingsTest::setUp in modules/ubercart/tests/src/Kernel/Migrate/uc6/FieldFormatterSettingsTest.php
FieldInstanceTest::setUp in modules/ubercart/tests/src/Kernel/Migrate/uc6/FieldInstanceTest.php
FieldWidgetSettingsTest::setUp in modules/ubercart/tests/src/Kernel/Migrate/uc6/FieldWidgetSettingsTest.php
Ubercart6TestBase::migrateProductVariations in modules/ubercart/tests/src/Kernel/Migrate/uc6/Ubercart6TestBase.php
Executes product variation migration.
ViewModesTest::setUp in modules/ubercart/tests/src/Kernel/Migrate/uc6/ViewModesTest.php

File

modules/ubercart/tests/src/Kernel/Migrate/uc6/Ubercart6TestBase.php, line 76

Class

Ubercart6TestBase
Test base for Ubercart D6 tests.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6

Code

protected function migrateFields() {
  $this
    ->migrateContentTypes();
  $this
    ->executeMigrations([
    'd6_field',
    'd6_field_instance',
    'd6_field_instance_widget_settings',
    'd6_view_modes',
    'd6_field_formatter_settings',
  ]);
}