protected function LanguageConditionTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php \Drupal\Tests\language\Kernel\Condition\LanguageConditionTest::setUp()
- 9 core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php \Drupal\Tests\language\Kernel\Condition\LanguageConditionTest::setUp()
File
- core/
modules/ language/ tests/ src/ Kernel/ Condition/ LanguageConditionTest.php, line 37
Class
- LanguageConditionTest
- Tests that the language condition, provided by the language module, is working properly.
Namespace
Drupal\Tests\language\Kernel\ConditionCode
protected function setUp() : void {
parent::setUp();
$this
->installConfig([
'language',
]);
// Setup Italian.
ConfigurableLanguage::createFromLangcode('it')
->save();
$this->manager = $this->container
->get('plugin.manager.condition');
}