TaxonomyTranslationTestTrait::$baseLangcode

Same name in this branch
  1. 8.9.x core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php \Drupal\Tests\taxonomy\Functional\TaxonomyTranslationTestTrait::baseLangcode
Same name in other branches
  1. 9 core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php \Drupal\Tests\taxonomy\Functional\TaxonomyTranslationTestTrait::baseLangcode
  2. 10 core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php \Drupal\Tests\taxonomy\Functional\TaxonomyTranslationTestTrait::baseLangcode
  3. 11.x core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php \Drupal\Tests\taxonomy\Functional\TaxonomyTranslationTestTrait::baseLangcode

The langcode of the source language.

Type: string

File

core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php, line 41

Class

TaxonomyTranslationTestTrait
Provides common testing base for translated taxonomy terms.

Namespace

Drupal\taxonomy\Tests

Code

protected $baseLangcode = 'en';

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