TaxonomyTranslationTestTrait::$translateToLangcode
Same name in other branches
- 8.9.x core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php \Drupal\taxonomy\Tests\TaxonomyTranslationTestTrait::translateToLangcode
- 8.9.x core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php \Drupal\Tests\taxonomy\Functional\TaxonomyTranslationTestTrait::translateToLangcode
- 10 core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php \Drupal\Tests\taxonomy\Functional\TaxonomyTranslationTestTrait::translateToLangcode
- 11.x core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php \Drupal\Tests\taxonomy\Functional\TaxonomyTranslationTestTrait::translateToLangcode
Target langcode for translation.
Type: string
File
-
core/
modules/ taxonomy/ tests/ src/ Functional/ TaxonomyTranslationTestTrait.php, line 43
Class
- TaxonomyTranslationTestTrait
- Provides common testing base for translated taxonomy terms.
Namespace
Drupal\Tests\taxonomy\FunctionalCode
protected $translateToLangcode = 'hu';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.