function MigrateUserTest::setUp
Same name in this branch
- 11.x core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserTest.php \Drupal\Tests\user\Kernel\Migrate\d6\MigrateUserTest::setUp()
Same name in other branches
- 9 core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserTest.php \Drupal\Tests\user\Kernel\Migrate\d6\MigrateUserTest::setUp()
- 9 core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserTest.php \Drupal\Tests\user\Kernel\Migrate\d7\MigrateUserTest::setUp()
- 8.9.x core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserTest.php \Drupal\Tests\user\Kernel\Migrate\d6\MigrateUserTest::setUp()
- 8.9.x core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserTest.php \Drupal\Tests\user\Kernel\Migrate\d7\MigrateUserTest::setUp()
- 10 core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserTest.php \Drupal\Tests\user\Kernel\Migrate\d6\MigrateUserTest::setUp()
- 10 core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserTest.php \Drupal\Tests\user\Kernel\Migrate\d7\MigrateUserTest::setUp()
Overrides MigrateDrupal7TestBase::setUp
File
-
core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d7/ MigrateUserTest.php, line 42
Class
- MigrateUserTest
- Users migration.
Namespace
Drupal\Tests\user\Kernel\Migrate\d7Code
protected function setUp() : void {
parent::setUp();
$this->installEntitySchema('comment');
$this->installEntitySchema('taxonomy_term');
$this->executeMigration('language');
$this->migrateFields();
$this->migrateUsers();
$this->executeMigrations([
'd7_entity_translation_settings',
'd7_user_entity_translation',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.