TokenReplaceTest::$vocabulary

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

The vocabulary used for creating terms.

Type: \Drupal\taxonomy\VocabularyInterface

File

core/modules/taxonomy/tests/src/Kernel/TokenReplaceTest.php, line 31

Class

TokenReplaceTest
Tests taxonomy token replacement.

Namespace

Drupal\Tests\taxonomy\Kernel

Code

protected $vocabulary;

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