protected function LanguageConditionTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php \Drupal\Tests\language\Kernel\Condition\LanguageConditionTest::setUp()
Overrides KernelTestBase::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');
}