TermTranslationFieldViewTest::$term

Same name in other branches
  1. 8.9.x core/modules/taxonomy/tests/src/Functional/TermTranslationFieldViewTest.php \Drupal\Tests\taxonomy\Functional\TermTranslationFieldViewTest::term
  2. 10 core/modules/taxonomy/tests/src/Functional/TermTranslationFieldViewTest.php \Drupal\Tests\taxonomy\Functional\TermTranslationFieldViewTest::term
  3. 11.x core/modules/taxonomy/tests/src/Functional/TermTranslationFieldViewTest.php \Drupal\Tests\taxonomy\Functional\TermTranslationFieldViewTest::term

The term that should be translated.

Type: \Drupal\taxonomy\Entity\Term

File

core/modules/taxonomy/tests/src/Functional/TermTranslationFieldViewTest.php, line 21

Class

TermTranslationFieldViewTest
Tests the translation of taxonomy terms field on nodes.

Namespace

Drupal\Tests\taxonomy\Functional

Code

protected $term;

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