function LocaleThemeInstallTest::getInstallLangcode

Same name and namespace in other branches
  1. 11.x core/modules/locale/tests/src/Functional/LocaleThemeInstallTest.php \Drupal\Tests\locale\Functional\LocaleThemeInstallTest::getInstallLangcode()

Gets the langcode to install Drupal with.

Return value

string The langcode to install Drupal with.

Overrides InstallerLanguageTrait::getInstallLangcode

File

core/modules/locale/tests/src/Functional/LocaleThemeInstallTest.php, line 37

Class

LocaleThemeInstallTest
Tests that locale rewrites config langcodes after theme install.

Namespace

Drupal\Tests\locale\Functional

Code

protected function getInstallLangcode() : string {
  return 'de';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.