function NodeTranslationRedirectTest::setUp
Same name in this branch
- 9 core/modules/node/tests/src/Kernel/Migrate/d6/NodeTranslationRedirectTest.php \Drupal\Tests\node\Kernel\Migrate\d6\NodeTranslationRedirectTest::setUp()
Same name in other branches
- 8.9.x core/modules/node/tests/src/Kernel/Migrate/d6/NodeTranslationRedirectTest.php \Drupal\Tests\node\Kernel\Migrate\d6\NodeTranslationRedirectTest::setUp()
- 8.9.x core/modules/node/tests/src/Kernel/Migrate/d7/NodeTranslationRedirectTest.php \Drupal\Tests\node\Kernel\Migrate\d7\NodeTranslationRedirectTest::setUp()
- 10 core/modules/node/tests/src/Kernel/Migrate/d6/NodeTranslationRedirectTest.php \Drupal\Tests\node\Kernel\Migrate\d6\NodeTranslationRedirectTest::setUp()
- 10 core/modules/node/tests/src/Kernel/Migrate/d7/NodeTranslationRedirectTest.php \Drupal\Tests\node\Kernel\Migrate\d7\NodeTranslationRedirectTest::setUp()
- 11.x core/modules/node/tests/src/Kernel/Migrate/d6/NodeTranslationRedirectTest.php \Drupal\Tests\node\Kernel\Migrate\d6\NodeTranslationRedirectTest::setUp()
- 11.x core/modules/node/tests/src/Kernel/Migrate/d7/NodeTranslationRedirectTest.php \Drupal\Tests\node\Kernel\Migrate\d7\NodeTranslationRedirectTest::setUp()
Overrides MigrateDrupal7TestBase::setUp
File
-
core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d7/ NodeTranslationRedirectTest.php, line 34
Class
- NodeTranslationRedirectTest
- Tests node translation redirections.
Namespace
Drupal\Tests\node\Kernel\Migrate\d7Code
protected function setUp() : void {
parent::setUp();
$this->setUpCurrentUser();
$this->installSchema('node', [
'node_access',
]);
$this->migrateUsers(FALSE);
$this->migrateContentTypes();
$this->executeMigrations([
'language',
'd7_language_types',
'd7_language_negotiation_settings',
'd7_node',
'd7_node_translation',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.