ContentTranslationModuleInstallTest::$sourceLangcode

Same name and namespace in other branches
  1. 9 core/modules/content_translation/tests/src/Kernel/ContentTranslationModuleInstallTest.php \Drupal\Tests\content_translation\Kernel\ContentTranslationModuleInstallTest::sourceLangcode
  2. 8.9.x core/modules/content_translation/tests/src/Kernel/ContentTranslationModuleInstallTest.php \Drupal\Tests\content_translation\Kernel\ContentTranslationModuleInstallTest::sourceLangcode
  3. 10 core/modules/content_translation/tests/src/Kernel/ContentTranslationModuleInstallTest.php \Drupal\Tests\content_translation\Kernel\ContentTranslationModuleInstallTest::sourceLangcode

The language code of the source language for this test.

Type: string

File

core/modules/content_translation/tests/src/Kernel/ContentTranslationModuleInstallTest.php, line 41

Class

ContentTranslationModuleInstallTest
Tests content translation for modules that provide translatable bundles.

Namespace

Drupal\Tests\content_translation\Kernel

Code

protected $sourceLangcode = 'en';

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