EntityReferenceItemTest::$vocabulary

The taxonomy vocabulary to test with.

Type: \Drupal\taxonomy\VocabularyInterface

File

core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php, line 58

Class

EntityReferenceItemTest
Tests the new entity API for the entity reference field type.

Namespace

Drupal\Tests\field\Kernel\EntityReference

Code

protected $vocabulary;

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