protected function MigrateViewModesTest::setUp in Drupal 8
Same name in this branch
- 8 core/modules/node/tests/src/Kernel/Migrate/d6/MigrateViewModesTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateViewModesTest::setUp()
- 8 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
- 9 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() {
parent::setUp();
$this
->installEntitySchema('comment');
$this
->installEntitySchema('node');
$this
->executeMigration('d7_view_modes');
}