function MigrateFieldFormatterSettingsTest::setUp

Same name in this branch
  1. 11.x core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldFormatterSettingsTest.php \Drupal\Tests\field\Kernel\Migrate\d6\MigrateFieldFormatterSettingsTest::setUp()
Same name in other branches
  1. 9 core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldFormatterSettingsTest.php \Drupal\Tests\field\Kernel\Migrate\d6\MigrateFieldFormatterSettingsTest::setUp()
  2. 9 core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldFormatterSettingsTest.php \Drupal\Tests\field\Kernel\Migrate\d7\MigrateFieldFormatterSettingsTest::setUp()
  3. 8.9.x core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldFormatterSettingsTest.php \Drupal\Tests\field\Kernel\Migrate\d6\MigrateFieldFormatterSettingsTest::setUp()
  4. 8.9.x core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldFormatterSettingsTest.php \Drupal\Tests\field\Kernel\Migrate\d7\MigrateFieldFormatterSettingsTest::setUp()
  5. 10 core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldFormatterSettingsTest.php \Drupal\Tests\field\Kernel\Migrate\d6\MigrateFieldFormatterSettingsTest::setUp()
  6. 10 core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldFormatterSettingsTest.php \Drupal\Tests\field\Kernel\Migrate\d7\MigrateFieldFormatterSettingsTest::setUp()

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldFormatterSettingsTest.php, line 37

Class

MigrateFieldFormatterSettingsTest
Tests migration of D7 field formatter settings.

Namespace

Drupal\Tests\field\Kernel\Migrate\d7

Code

protected function setUp() : void {
    parent::setUp();
    $this->migrateFields();
    $this->executeMigrations([
        'd7_view_modes',
        'd7_field_formatter_settings',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.