function InstallerLanguageTrait::getInstallLangcode
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Traits/Core/Locale/InstallerLanguageTrait.php \Drupal\Tests\Traits\Core\Locale\InstallerLanguageTrait::getInstallLangcode()
Gets the langcode to install Drupal with.
Return value
string The langcode to install Drupal with.
1 call to InstallerLanguageTrait::getInstallLangcode()
- InstallerLanguageTrait::installParameters in core/
tests/ Drupal/ Tests/ Traits/ Core/ Locale/ InstallerLanguageTrait.php
4 methods override InstallerLanguageTrait::getInstallLangcode()
- HelpTopicTranslatedTestBase::getInstallLangcode in core/
modules/ help/ tests/ src/ Functional/ HelpTopicTranslatedTestBase.php - Gets the langcode to install Drupal with.
- LocaleNonInteractiveInstallTest::getInstallLangcode in core/
modules/ locale/ tests/ src/ Functional/ LocaleNonInteractiveInstallTest.php - Gets the langcode to install Drupal with.
- LocaleThemeInstallTest::getInstallLangcode in core/
modules/ locale/ tests/ src/ Functional/ LocaleThemeInstallTest.php - Gets the langcode to install Drupal with.
- NodeTypeTranslationTest::getInstallLangcode in core/
modules/ node/ tests/ src/ Functional/ NodeTypeTranslationTest.php - Gets the langcode to install Drupal with.
File
-
core/
tests/ Drupal/ Tests/ Traits/ Core/ Locale/ InstallerLanguageTrait.php, line 18
Class
- InstallerLanguageTrait
- A trait to install Drupal in a specific language.
Namespace
Drupal\Tests\Traits\Core\LocaleCode
abstract protected function getInstallLangcode() : string;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.