function LocaleNonInteractiveInstallTest::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/LocaleNonInteractiveInstallTest.php, line 27

Class

LocaleNonInteractiveInstallTest
Tests installing in a different language with a non-dev version string.

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.