protected function MigrateUrlAliasTest::setUp in Drupal 9
Same name in this branch
- 9 core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d6\MigrateUrlAliasTest::setUp()
- 9 core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d7\MigrateUrlAliasTest::setUp()
Same name and namespace in other branches
- 8 core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d6\MigrateUrlAliasTest::setUp()
Overrides MigrateDrupal6TestBase::setUp
File
- core/
modules/ path/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUrlAliasTest.php, line 34
Class
- MigrateUrlAliasTest
- URL alias migration.
Namespace
Drupal\Tests\path\Kernel\Migrate\d6Code
protected function setUp() : void {
parent::setUp();
$this
->installEntitySchema('node');
$this
->installEntitySchema('path_alias');
$this
->installConfig([
'node',
]);
$this
->installSchema('node', [
'node_access',
]);
$this
->migrateUsers(FALSE);
$this
->migrateFields();
$this
->executeMigrations([
'language',
'd6_node_settings',
'd6_node',
'd6_node_translation',
'd6_url_alias',
]);
}