protected function MigrateUrlAliasTestBase::setUp in Drupal 8
Same name and namespace in other branches
- 9 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 32
Class
- MigrateUrlAliasTestBase
- Tests URL alias migration.
Namespace
Drupal\Tests\path\Kernel\Migrate\d7Code
protected function setUp() {
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',
]);
}