protected function LocalePathTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/locale/tests/src/Functional/LocalePathTest.php \Drupal\Tests\locale\Functional\LocalePathTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ locale/ tests/ src/ Functional/ LocalePathTest.php, line 35
Class
- LocalePathTest
- Tests you can configure a language for individual URL aliases.
Namespace
Drupal\Tests\locale\FunctionalCode
protected function setUp() {
parent::setUp();
$this
->drupalCreateContentType([
'type' => 'page',
'name' => 'Basic page',
]);
$this
->config('system.site')
->set('page.front', '/node')
->save();
}