protected function LanguageBreadcrumbTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/language/tests/src/Functional/LanguageBreadcrumbTest.php \Drupal\Tests\language\Functional\LanguageBreadcrumbTest::setUp()
- 9 core/modules/language/tests/src/Functional/LanguageBreadcrumbTest.php \Drupal\Tests\language\Functional\LanguageBreadcrumbTest::setUp()
File
- core/
modules/ language/ tests/ src/ Functional/ LanguageBreadcrumbTest.php, line 33
Class
- LanguageBreadcrumbTest
- Tests breadcrumbs functionality.
Namespace
Drupal\Tests\language\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this
->drupalPlaceBlock('system_breadcrumb_block');
ConfigurableLanguage::createFromLangcode('de')
->save();
ConfigurableLanguage::createFromLangcode('gsw-berne')
->save();
}