function ConfigurableLanguageValidationTest::setUp
Same name in other branches
- 10 core/modules/language/tests/src/Kernel/ConfigurableLanguageValidationTest.php \Drupal\Tests\language\Kernel\ConfigurableLanguageValidationTest::setUp()
Overrides ConfigEntityValidationTestBase::setUp
File
-
core/
modules/ language/ tests/ src/ Kernel/ ConfigurableLanguageValidationTest.php, line 25
Class
- ConfigurableLanguageValidationTest
- Tests validation of configurable_language entities.
Namespace
Drupal\Tests\language\KernelCode
protected function setUp() : void {
parent::setUp();
$this->entity = ConfigurableLanguage::createFromLangcode('fr');
$this->entity
->save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.