function HelpTopicTranslatedTestBase::getInstallLangcode

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

Gets the langcode to install Drupal with.

Return value

string The langcode to install Drupal with.

Overrides InstallerLanguageTrait::getInstallLangcode

File

core/modules/help/tests/src/Functional/HelpTopicTranslatedTestBase.php, line 64

Class

HelpTopicTranslatedTestBase
Provides a base class for functional help topic tests that use translation.

Namespace

Drupal\Tests\help\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.