function MigrateViewModesTest::setUp

Same name in this branch
  1. 8.9.x core/modules/node/tests/src/Kernel/Migrate/d6/MigrateViewModesTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateViewModesTest::setUp()
Same name in other branches
  1. 9 core/modules/field/tests/src/Kernel/Migrate/d7/MigrateViewModesTest.php \Drupal\Tests\field\Kernel\Migrate\d7\MigrateViewModesTest::setUp()
  2. 9 core/modules/node/tests/src/Kernel/Migrate/d6/MigrateViewModesTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateViewModesTest::setUp()
  3. 10 core/modules/field/tests/src/Kernel/Migrate/d7/MigrateViewModesTest.php \Drupal\Tests\field\Kernel\Migrate\d7\MigrateViewModesTest::setUp()
  4. 10 core/modules/node/tests/src/Kernel/Migrate/d6/MigrateViewModesTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateViewModesTest::setUp()
  5. 11.x core/modules/field/tests/src/Kernel/Migrate/d7/MigrateViewModesTest.php \Drupal\Tests\field\Kernel\Migrate\d7\MigrateViewModesTest::setUp()
  6. 11.x core/modules/node/tests/src/Kernel/Migrate/d6/MigrateViewModesTest.php \Drupal\Tests\node\Kernel\Migrate\d6\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\d7

Code

protected function setUp() {
    parent::setUp();
    $this->installEntitySchema('comment');
    $this->installEntitySchema('node');
    $this->executeMigration('d7_view_modes');
}

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