protected function MigrateViewModesTest::setUp in Drupal 9
Same name in this branch
- 9 core/modules/node/tests/src/Kernel/Migrate/d6/MigrateViewModesTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateViewModesTest::setUp()
- 9 core/modules/field/tests/src/Kernel/Migrate/d7/MigrateViewModesTest.php \Drupal\Tests\field\Kernel\Migrate\d7\MigrateViewModesTest::setUp()
Same name and namespace in other branches
- 8 core/modules/field/tests/src/Kernel/Migrate/d7/MigrateViewModesTest.php \Drupal\Tests\field\Kernel\Migrate\d7\MigrateViewModesTest::setUp()
Overrides MigrateDrupal7TestBase::setUp
File
- core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d7/ MigrateViewModesTest.php, line 21
Class
- MigrateViewModesTest
- Tests migration of D7 view modes.
Namespace
Drupal\Tests\field\Kernel\Migrate\d7Code
protected function setUp() : void {
parent::setUp();
$this
->installEntitySchema('comment');
$this
->installEntitySchema('node');
$this
->executeMigration('d7_view_modes');
}