TaxonomyTranslationTestTrait::$termFieldName

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

The field name for our taxonomy term field.

Type: string

File

core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php, line 31

Class

TaxonomyTranslationTestTrait
Provides common testing base for translated taxonomy terms.

Namespace

Drupal\Tests\taxonomy\Functional

Code

protected $termFieldName = 'field_tag';

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