TaxonomyTestBase::$term2

Same name in this branch
  1. 10 core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Functional\Views\TaxonomyTestBase::term2
Same name in other branches
  1. 9 core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Kernel\Views\TaxonomyTestBase::term2
  2. 9 core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Functional\Views\TaxonomyTestBase::term2
  3. 8.9.x core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Kernel\Views\TaxonomyTestBase::term2
  4. 8.9.x core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Functional\Views\TaxonomyTestBase::term2
  5. 11.x core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Kernel\Views\TaxonomyTestBase::term2
  6. 11.x core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Functional\Views\TaxonomyTestBase::term2

Stores the second term used in the different tests.

Type: \Drupal\taxonomy\TermInterface

File

core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyTestBase.php, line 72

Class

TaxonomyTestBase
Base class for views kernel taxonomy tests.

Namespace

Drupal\Tests\taxonomy\Kernel\Views

Code

protected $term2;

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