function MigrateUrlAliasTestBase::setUp
Same name in other branches
- 9 core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTestBase.php \Drupal\Tests\path\Kernel\Migrate\d7\MigrateUrlAliasTestBase::setUp()
- 8.9.x core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTestBase.php \Drupal\Tests\path\Kernel\Migrate\d7\MigrateUrlAliasTestBase::setUp()
- 10 core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTestBase.php \Drupal\Tests\path\Kernel\Migrate\d7\MigrateUrlAliasTestBase::setUp()
Overrides MigrateDrupal7TestBase::setUp
2 calls to MigrateUrlAliasTestBase::setUp()
- MigrateUrlAliasNoTranslationTest::setUp in core/
modules/ path/ tests/ src/ Kernel/ Migrate/ d7/ MigrateUrlAliasNoTranslationTest.php - MigrateUrlAliasTest::setUp in core/
modules/ path/ tests/ src/ Kernel/ Migrate/ d7/ MigrateUrlAliasTest.php
2 methods override MigrateUrlAliasTestBase::setUp()
- MigrateUrlAliasNoTranslationTest::setUp in core/
modules/ path/ tests/ src/ Kernel/ Migrate/ d7/ MigrateUrlAliasNoTranslationTest.php - MigrateUrlAliasTest::setUp in core/
modules/ path/ tests/ src/ Kernel/ Migrate/ d7/ MigrateUrlAliasTest.php
File
-
core/
modules/ path/ tests/ src/ Kernel/ Migrate/ d7/ MigrateUrlAliasTestBase.php, line 34
Class
- MigrateUrlAliasTestBase
- Tests URL alias migration.
Namespace
Drupal\Tests\path\Kernel\Migrate\d7Code
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->migrateContentTypes();
$this->executeMigrations([
'language',
'd7_node',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.