function MigrateUrlAliasTest::setUp
Same name in this branch
- 8.9.x core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d7\MigrateUrlAliasTest::setUp()
Same name in other branches
- 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()
- 10 core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d6\MigrateUrlAliasTest::setUp()
- 10 core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d7\MigrateUrlAliasTest::setUp()
- 11.x core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d6\MigrateUrlAliasTest::setUp()
- 11.x core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d7\MigrateUrlAliasTest::setUp()
Overrides MigrateDrupal6TestBase::setUp
1 method overrides MigrateUrlAliasTest::setUp()
- LegacyMigrateUrlAliasTest::setUp in core/
modules/ path/ tests/ src/ Kernel/ Migrate/ d6/ LegacyMigrateUrlAliasTest.php
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() {
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',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.